Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5k views
in .NET FTP by (620 points)
Suddenly having problems downloading from business partner site. They say they have not changed anything. Their site deletes files after download so all retry attempts fail. Their server says download was successful and deletes file.

DEBUG [ExFTPPassiveDataSocket] 28 Mar 2011 11:09:54.659 : Created passive data-socket: ProxyConnector=
DEBUG [SSLFTPPassiveDataSocket] 28 Mar 2011 11:09:54.659 : Created passive data-socket: Protocol=None, CompatibilityFlags=Standard, UseSSLClosure=True, WaitOnClose=True
DEBUG [FTPControlSocket] 28 Mar 2011 11:09:54.659 : ---> RETR h837.61604.20110328.592.asc
DEBUG [FTPControlSocket] 28 Mar 2011 11:09:54.831 : 150 Opening BINARY mode data connection for h837.61604.20110328.592.asc (0 bytes).
DEBUG [SecureSocket] 28 Mar 2011 11:09:54.847 : Shutdown(Both)
DEBUG [SSLFTPPassiveDataSocket] 28 Mar 2011 11:09:54.847 : Attempt to close unconnected passive data-channel.
DEBUG [FTPClient] 28 Mar 2011 11:09:54.847 : Transferred 2417 bytes from remote host
DEBUG [FTPControlSocket] 28 Mar 2011 11:09:55.175 : 226 Transfer complete.
ERROR [ExFTPConnection] 28 Mar 2011 11:10:00.175 : Transfer error on attempt #1 retrying:
ERROR [ExFTPConnection] 28 Mar 2011 11:10:00.175 : System.IO.FileNotFoundException: Could not find file 'C:\Newmail\EMD_PW\Reports\'.
ERROR [ExFTPConnection] 28 Mar 2011 11:10:00.175 : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
ERROR [ExFTPConnection] 28 Mar 2011 11:10:00.175 : at System.IO.FileInfo.get_Length()
ERROR [ExFTPConnection] 28 Mar 2011 11:10:00.175 : at EnterpriseDT.Net.Ftp.FTPConnection.OnDownloaded(String localPath, String remoteFile, Int64 bytesTransferred, Exception ex, Int64 currentFileSize, DateTime currentModTime)
ERROR [ExFTPConnection] 28 Mar 2011 11:10:00.175 : at EnterpriseDT.Net.Ftp.FTPConnection.DownloadFile(String localPath, String remoteFile)
ERROR [ExFTPConnection] 28 Mar 2011 11:10:00.175 : at EnterpriseDT.Net.Ftp.ExFTPConnection.SyncDownloadFile(String localPath, String remoteFile)
DEBUG [ExFTPConnection] 28 Mar 2011 11:10:00.190 : Testing connection
DEBUG [FTPControlSocket] 28 Mar 2011 11:10:00.190 : ---> PWD
DEBUG [FTPControlSocket] 28 Mar 2011 11:10:00.425 : 257 "/mail" is current directory.

3 Answers

0 votes
by (162k points)
Seems to be because of this:

Could not find file 'C:\Newmail\EMD_PW\Reports\'.

what is the name of the local file you are downloading to?
0 votes
by (620 points)
the downloaded file name should be:
'C:\Newmail\EMD_PW\Reports\h837.61604.20110328.592.asc'
0 votes
by (162k points)
Could you post the code snippet where the upload is done?

Categories

...