while using Xceed FTP for .NET (3.6) to download a file from a proprietary FTP server I get an error because the library tries to change the directory before starting the transfer: <hr> > CWD / < 550 XCWD valid format required. <hr>
Problem is, the server has no real directories – and therefore can’t cope with the CWD.
Is there any way I can surpress the CWD command with the Xceed FTP library?
Thanks in advance.
Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Björn (had 3956 views)
If you are using the FileSystem (with FtpConnection), there is no way to prevent this command to be called. The FileSystem calls Do Exists on every folder (starting from the root) to the requested folder to make sure they exist.