Hi everyone.
I am working on a .NET application and trying to use EDT FTP .Net client.
I use the same executables and input parameters, but sometimes I get an error condition.
It looks like the answers I get are somehow scrambled or delayed.
Giving a look at the FTP server log files, it looks like everything is ok, no errors at all.
I post here some examples taken from the log file of the EDT client.
Can anyone give help?
Thanks.
EDT FTP .Net client debug lines when the application is correctly working:
DEBUG [FTPConnection] 3 dic 2013 17:53:04.007 : DirectoryExists(/012307)
DEBUG [FTPControlSocket] 3 dic 2013 17:53:04.007 : ---> CWD /012307
DEBUG [FTPControlSocket] 3 dic 2013 17:53:04.380 : 250 CWD successful. "/012307" is current directory.
DEBUG [FTPControlSocket] 3 dic 2013 17:53:04.380 : ---> CWD /
DEBUG [FTPControlSocket] 3 dic 2013 17:53:04.622 : 250 CWD successful. "/" is current directory.
DEBUG [FTPConnection] 3 dic 2013 17:53:04.622 : Exists(/012307/Busy)
DEBUG [FTPControlSocket] 3 dic 2013 17:53:04.622 : ---> MDTM /012307/Busy
DEBUG [FTPControlSocket] 3 dic 2013 17:53:04.848 : 550 File not found
DEBUG [FTPControlSocket] 3 dic 2013 17:53:04.849 : ---> PASV
DEBUG [FTPControlSocket] 3 dic 2013 17:53:05.074 : 227 Entering Passive Mode (188,219,74,146,196,63)
DEBUG [FTPControlSocket] 3 dic 2013 17:53:05.074 : Server supplied address=188.219.74.146
DEBUG [FTPControlSocket] 3 dic 2013 17:53:05.074 : Server supplied port=50239
DEBUG [FTPControlSocket] 3 dic 2013 17:53:05.074 : autoPassiveIPSubstitution=True
DEBUG [FTPControlSocket] 3 dic 2013 17:53:05.074 : remoteAddr=188.219.74.146
DEBUG [FTPControlSocket] 3 dic 2013 17:53:05.074 : Substituting server supplied IP (188.219.74.146) with remote host IP (188.219.74.146)
DEBUG [FTPControlSocket] 3 dic 2013 17:53:05.074 : NewPassiveDataSocket(188.219.74.146,50239)
INFO [BaseSocket] 3 dic 2013 17:53:05.075 : Connecting to 188.219.74.146:50239 with timeout 5000 ms
DEBUG [BaseSocket] 3 dic 2013 17:53:05.245 : Successfully connected to 188.219.74.146:50239
EDT FTP .Net client debug lines when the application is NOT working:
DEBUG [FTPConnection] 3 dic 2013 17:54:49.951 : DirectoryExists(/012307)
DEBUG [FTPControlSocket] 3 dic 2013 17:54:49.951 : ---> CWD /012307
DEBUG [FTPControlSocket] 3 dic 2013 17:54:49.951 : 227 Entering Passive Mode (188,219,74,146,196,255)
DEBUG [FTPControlSocket] 3 dic 2013 17:54:49.951 : ---> CWD /
DEBUG [FTPControlSocket] 3 dic 2013 17:54:50.192 : 250 CWD successful. "/012307" is current directory.
DEBUG [FTPConnection] 3 dic 2013 17:54:50.192 : Exists(/012307/Busy)
DEBUG [FTPControlSocket] 3 dic 2013 17:54:50.192 : ---> PORT 192,168,1,120,144,88
DEBUG [FTPControlSocket] 3 dic 2013 17:54:50.192 : 250 CWD successful. "/" is current directory.
DEBUG [FTPControlSocket] 3 dic 2013 17:54:50.192 : ---> RETR /012307/Busy
DEBUG [FTPControlSocket] 3 dic 2013 17:54:50.377 : 200 Port command successful
DEBUG [FTPControlSocket] 3 dic 2013 17:54:50.381 : ---> PASV
DEBUG [FTPControlSocket] 3 dic 2013 17:54:50.381 : 550 File not found
DEBUG [FTPControlSocket] 3 dic 2013 17:54:50.381 : Expected reply codes = [227] (strict=False)
ERROR [FTPClient] 3 dic 2013 17:54:50.400 : Caught exception File not found (code=550)
DEBUG [FTPClient] 3 dic 2013 17:54:50.401 : Closing source stream
ERROR [FTPClient] 3 dic 2013 17:54:50.401 : Caught exception
ERROR [FTPClient] 3 dic 2013 17:54:50.401 : EnterpriseDT.Net.Ftp.FTPException: File not found (code=550)
ERROR [FTPClient] 3 dic 2013 17:54:50.401 : in EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String[] expectedReplyCodes)
ERROR [FTPClient] 3 dic 2013 17:54:50.401 : in EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocketPASVInternal()
ERROR [FTPClient] 3 dic 2013 17:54:50.401 : in EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocketPASV()
ERROR [FTPClient] 3 dic 2013 17:54:50.401 : in EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocket(FTPConnectMode connectMode)
ERROR [FTPClient] 3 dic 2013 17:54:50.401 : in EnterpriseDT.Net.Ftp.FTPClient.InitPut(String remoteFile, Boolean append)
ERROR [FTPClient] 3 dic 2013 17:54:50.401 : in EnterpriseDT.Net.Ftp.FTPClient.PutBinary(Stream srcStream, String remoteFile, Boolean append, Boolean alwaysCloseStreams)