by hhumbto » Wed Feb 16, 2011 6:00 am
Here is the listion of DOS ftp.exe program:
ftp> debug
Debugging On .
ftp> o ftp.actual.server
Connected to ftp.actual.server.
220-Hi there, welcome to the Our FTP site.
220 WFTPD 3.0 service (by Texas Imperial Software) ready for new user
User (ftp.actual.server:(none)): actual_user
---> USER actual_user
331 Give me your password, please
Password:
---> PASS actual_password
230 Logged in successfully
ftp> cd actual_folder
---> CWD actual_folder
250 "/actual_folder" is current directory
ftp> dir
---> PORT 10,140,45,140,206,94
200 PORT command okay
---> LIST
150 File Listing Follows in ASCII mode.
total 1
-rwxrwxrwx 1 noone nogroup 4 Feb 15 10:07 test.txt
226 Transfer finished successfully.
ftp: 73 bytes received in 0.00Seconds 73000.00Kbytes/sec.
ftp>
Here is the loggin the active mode:
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.083 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.083 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.083 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.085 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.085 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.085 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.099 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.099 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.099 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.099 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.099 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 15 Feb 2011 11:48:02.099 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [SFTPMessageStore] 15 Feb 2011 11:48:04.399 : Set timeout=30000
INFO [LicenseProperties] 15 Feb 2011 11:48:08.056 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 15 Feb 2011 11:48:08.056 : Production license
DEBUG [FTPConnection] 15 Feb 2011 11:48:08.057 : Set LocalDirectory='C:\Windows\system32'
DEBUG [SecureFTPConnection] 15 Feb 2011 11:48:08.058 : Set LocalDirectory to C:\Windows\system32
INFO [LicenseProperties] 15 Feb 2011 11:48:08.060 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 15 Feb 2011 11:48:08.060 : Production license
DEBUG [SSLFTPClient] 15 Feb 2011 11:48:08.061 : Connecting to ftp.actual.server:21
DEBUG [SSLFTPControlSocket] 15 Feb 2011 11:48:08.062 : waitOnShutdownSSL=True
DEBUG [HostNameResolver] 15 Feb 2011 11:48:08.074 : Resolving ftp.actual.server
DEBUG [HostNameResolver] 15 Feb 2011 11:48:08.075 : Obtained 1 addresses
DEBUG [HostNameResolver] 15 Feb 2011 11:48:08.075 : IP address: 10.1.1.10
DEBUG [HostNameResolver] 15 Feb 2011 11:48:08.075 : ftp.actual.server resolved to 10.1.1.10
DEBUG [ExFTPControlSocket] 15 Feb 2011 11:48:08.075 : Connecting directly to ftp-server ftp.actual.server:21
INFO [SSLFTPSocket] 15 Feb 2011 11:48:08.076 : Connecting to 10.1.1.10:21 with timeout 30000 ms
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.112 : Setting socket timeout=30000
ALL [SecureSocket] 15 Feb 2011 11:48:08.114 : SecureSocket timeout=30000
ALL [SecureSocket] 15 Feb 2011 11:48:08.114 : SecureSocket timeout=30000
INFO [FTPControlSocket] 15 Feb 2011 11:48:08.116 : Command encoding=System.Text.SBCSCodePageEncoding
DEBUG [ExFTPControlSocket] 15 Feb 2011 11:48:08.117 : Created control-socket: SocksContext=, ProxySettings=NoProxy, RemoteHost=ftp.actual.server, controlPort=21, timeout=30000
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.120 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.149 : 220-Hi there, welcome to the Euro RSCG Portland FTP site.
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.150 : 220 WFTPD 3.0 service (by Texas Imperial Software) ready for new user
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.157 : ---> USER actual_user
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.192 : 331 Give me your password, please
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.193 : ---> PASS ********
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.231 : 230 Logged in successfully
DEBUG [FTPConnection] 15 Feb 2011 11:48:08.231 : Successfully logged in
DEBUG [ExFTPConnection] 15 Feb 2011 11:48:08.235 : Starting KeepAlive thread with period 30s
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.237 : ---> FEAT
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.271 : 211-Extensions supported:
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.271 : MDTM
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.271 : SIZE
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.271 : REST STREAM
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.271 : TVFS
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.271 : 211 END
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.272 : ---> TYPE I
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.306 : 200 Type is Image (Binary)
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.307 : ---> PWD
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:08.340 : 257 "/" is current directory
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:09.902 : ---> TYPE I
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:09.936 : 200 Type is Image (Binary)
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:22.611 : ---> SYST
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:22.644 : 215 WIN32 L 8 (WFTPD by Texas Imperial Software)
WARN [FTPFileFactory] 15 Feb 2011 11:48:22.645 : Unknown SYST 'WIN32 L 8 (WFTPD by Texas Imperial Software)' - defaulting to Unix parsing
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:22.646 : ---> PWD
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:22.679 : 257 "/" is current directory
DEBUG [SSLFTPControlSocket] 15 Feb 2011 11:48:22.683 : Creating active data socket on port 0
DEBUG [ExFTPControlSocket] 15 Feb 2011 11:48:22.685 : Binding 10.1.1.140
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:22.687 : ---> PORT 10,140,45,140,205,249
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:22.720 : 200 PORT command okay
DEBUG [ExFTPActiveDataSocket] 15 Feb 2011 11:48:22.722 : Created active data-socket: ProxyConnector=
DEBUG [SSLFTPActiveDataSocket] 15 Feb 2011 11:48:22.722 : Created active data-socket: Protocol=None, CompatibilityFlags=Standard
ALL [SecureSocket] 15 Feb 2011 11:48:22.724 : SecureSocket timeout=30000
ALL [SecureSocket] 15 Feb 2011 11:48:22.724 : SecureSocket timeout=30000
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:22.724 : ---> LIST
DEBUG [FTPControlSocket] 15 Feb 2011 11:48:43.867 : 425 Unable to open data connection - error=[10060] Connection timed out
DEBUG [FTPClient] 15 Feb 2011 11:48:43.870 : Reading ASCII listing data
DEBUG [ExFTPActiveDataSocket] 15 Feb 2011 11:48:43.872 : Awaiting a direct connection on active data-channel.
DEBUG [FTPControlSocket] 15 Feb 2011 11:49:13.896 : Setting socket timeout=500
ALL [SecureSocket] 15 Feb 2011 11:49:13.896 : SecureSocket timeout=500
ALL [SecureSocket] 15 Feb 2011 11:49:13.896 : SecureSocket timeout=500
ERROR [SecureNetworkStream] 15 Feb 2011 11:49:14.936 : Socket.Receive() failed
ERROR [SecureNetworkStream] 15 Feb 2011 11:49:14.936 : System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
ERROR [SecureNetworkStream] 15 Feb 2011 11:49:14.936 : at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
ERROR [SecureNetworkStream] 15 Feb 2011 11:49:14.936 : at eJlrQh9HUTakC6A37nb.L2d93A9DygXMs2UTcl0.Receive(Byte[] , Int32 , Int32 , SocketFlags )
ERROR [SecureNetworkStream] 15 Feb 2011 11:49:14.936 : at 5OHxhrAadu8b3cVj5XX.OLuJsoASoh9uXk9oNOQ.Receive(Byte[] , Int32 , Int32 , SocketFlags )
ERROR [SecureNetworkStream] 15 Feb 2011 11:49:14.936 : at MIsoWEAlXR8Ds1oL70w.pJ89yeAyne0Rdw7cdwe.Read(Byte[] , Int32 , Int32 )
ERROR [FTPControlSocket] 15 Feb 2011 11:49:14.939 : Read failed ('' read so far)
WARN [FTPClient] 15 Feb 2011 11:49:14.941 : ReadReply failed
WARN [FTPClient] 15 Feb 2011 11:49:14.941 : EnterpriseDT.Net.Ftp.ControlChannelIOException: An I/O exception occurred.
WARN [FTPClient] 15 Feb 2011 11:49:14.941 : at EnterpriseDT.Net.Ftp.FTPControlSocket.jk2JfehxX()
WARN [FTPClient] 15 Feb 2011 11:49:14.941 : at EnterpriseDT.Net.Ftp.FTPControlSocket.lHVbvEPOx6()
WARN [FTPClient] 15 Feb 2011 11:49:14.941 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransfer()
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : Exception in ValidateTransferOnError())
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : EnterpriseDT.Net.Ftp.ControlChannelIOException: An I/O exception occurred.
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransfer()
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()
DEBUG [FTPControlSocket] 15 Feb 2011 11:49:14.943 : Setting socket timeout=30000
ALL [SecureSocket] 15 Feb 2011 11:49:14.943 : SecureSocket timeout=30000
ALL [SecureSocket] 15 Feb 2011 11:49:14.943 : SecureSocket timeout=30000
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : SystemException in directory listing
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : System.IO.IOException: Failed to accept connection within timeout period (30000)
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : at 1ituwqWgDNlYX6FlR02.iBNtl2WPqts4eFQto3H.Accept(Int32 )
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : at wPstVAuJWKMtXqF8M6P.9FvWxkuL0QJEdnP5SWg.aXqGjjVqmp()
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : at ORNa30WYJOHs20cUUNd.FS27aIWjBlauIHFnQus.get_DataStream()
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : at EnterpriseDT.Net.Ftp.ExFTPClient.GetInputStream()
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : at EnterpriseDT.Net.Ftp.FTPClient.NFSnCLPt4(String )
ERROR [FTPClient] 15 Feb 2011 11:49:14.943 : at EnterpriseDT.Net.Ftp.FTPClient.Dir(String dirname, Boolean full)
DEBUG [SSLFTPActiveDataSocket] 15 Feb 2011 11:49:14.946 : Attempt to close unconnected active data-channel.
DEBUG [ExFTPConnection] 15 Feb 2011 11:49:17.141 : KeepAlive thread finished.