FTP Problem

I have a problem where my FTP does not work but returns all successful codes.
I can login and get a returncode 200.
I can ls and get a return code 226.
The problem is my dirlist is empty.

Now if I use the windows ftp from the command prompt I can see all the files when I do an ls.

It’s almost as if I did not connect but I have no errors.

What am I missing?


After login to that FTP site from webMethods use the service cd(enter that dir) and after that use ls,see what happens.


selection criteria in the dirlist should be * and not .


I am not sure what criteria you are talking about.
also you can give * criteria in the pub.client.ftp:cdls(dirpath,filenamepattern).