Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).

Download problem

no avatar
User

rmorales

Posts

17

Joined

Tue May 24, 2005 4:10 am

Location

Texas

Download problem

by rmorales » Tue Mar 29, 2011 2:31 am

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.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Download problem

by support2 » Tue Mar 29, 2011 12:07 pm

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?
no avatar
User

rmorales

Posts

17

Joined

Tue May 24, 2005 4:10 am

Location

Texas

by rmorales » Tue Mar 29, 2011 11:09 pm

the downloaded file name should be:
'C:\Newmail\EMD_PW\Reports\h837.61604.20110328.592.asc'
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Wed Mar 30, 2011 8:24 am


Who is online

Users browsing this forum: No registered users and 24 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron