Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.3k views
in .NET FTP by (120 points)
Hello!

I'm working with free .net ftp component.
With the following code i try to figure out if a file exists, then download it and delete in on the server. Works pretty good as long as the file exists. If the file does not exist, I get an error after checken with ....exists(strXMLFile): "Unable to determine if file '.....' exists.

If FtpConnection1.Exists(strXMLFile) Then
FtpConnection1.DownloadFile(strFTPDownloadDest, strXMLFile)
FtpConnection1.DeleteFile(strXMLFile)
End If

Can anyone tell me what

1 Answer

0 votes
by (162k points)
Enable logging at debug level and post the relevant snippet of the log file.

Categories

...