Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (380 points)
Hi

I have a problem with GetFileInfos and GetFiles. When I debug it looks like these commands transmits "NLST" to the remote server. For some reason, the remote server does not accept NLST. When I use FileZilla and turn on debug, I can see that it uses the "LIST" command, which the remote server DOES responed to and return a file listing. Is there anyway that I can set up which LIST command to use or any other workaround?

Thanks
Nicolas

3 Answers

0 votes
by (380 points)
I have now tried using the FTPClient, and then I do get a response when using the .Dir() command. The host that I am connecting to is an IBM FTP CS V1R6.
0 votes
by (380 points)
Hi I found the solution. It only works in a combination where I use Getfiles(""); So "NLST ." does not work, but "NLST" works....

Has anyone written a custom parser that works with GetFileInfos on an IBM FTP CS V1R6? Or could oyu suply an examle on how to create a parser - I having problem with finding such an example on the forum or in the documentation.

Thanks
Nicolas
0 votes
by (162k points)
FYI we are changing our code to avoid using "." wherever possible.

Look at the edtFTPnet source code for parser examples.

Categories

...