Thanks Hans. I am getting exception as I start uploading a file. My server admin also monitors my connection on his server and he says that he sees my connection connected to the server, but it immediately disconnected. This happens intermittenly before, but not often. It is getting quite frequent (everyday) lately. Some other programs I have that use Microsoft Windows FTP commands work fine. Here is my log contents. Please help.
Tim
[quote]
DEBUG [FTPConnection] 24 Oct 2010 10:08:52.365 : Set LocalDirectory='C:\MyProjects\DotNet\CS\MemConfigurationFiles\MemConfigDELL\bin\Debug'
DEBUG [FTPClient] 24 Oct 2010 10:08:52.381 : Connecting to ftp.kingston.com:21
DEBUG [HostNameResolver] 24 Oct 2010 10:08:52.678 : Resolving ftp.kingston.com
DEBUG [HostNameResolver] 24 Oct 2010 10:08:52.678 : Obtained 1 addresses
DEBUG [HostNameResolver] 24 Oct 2010 10:08:52.678 : IP address: 12.145.42.8
DEBUG [HostNameResolver] 24 Oct 2010 10:08:52.678 : ftp.kingston.com resolved to 12.145.42.8
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.709 : Setting socket timeout=60
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.709 : Command encoding=System.Text.ASCIIEncoding
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.709 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.756 : 220 Kingston Technology Co. Authorized Access Only!
DEBUG [FTPConnection] 24 Oct 2010 10:08:52.756 : Connected to ftp.kingston.com (instance=0)
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.756 : ---> USER 27tle25
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.787 : 331 User name okay, need password.
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.787 : ---> PASS ********
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.803 : 230 User logged in, proceed.
DEBUG [FTPConnection] 24 Oct 2010 10:08:52.803 : Successfully logged in
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.803 : ---> TYPE I
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.818 : 200 Type set to I.
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.818 : ---> PWD
DEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.818 : 257 "/" is current directory.
DEBUG [FTPConnection] 24 Oct 2010 10:09:11.225 : UploadFile(MEMORY_KINGSTON_EN_US.txt,Dellware\MEMORY_KINGSTON_EN_US.txt,False)
DEBUG [FTPConnection] 24 Oct 2010 10:09:11.240 : Combining absolute path 'C:\MyProjects\DotNet\CS\MemConfigurationFiles\MemConfigDELL\bin\Debug' with relative path 'MEMORY_KINGSTON_EN_US.txt'
DEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.350 : ---> PASV
DEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.646 : 227 Entering Passive Mode (12,145,42,8,17,148)
DEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.646 : Server supplied address=12.145.42.8
DEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.646 : Server supplied port=4500
DEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.646 : Substituting server supplied IP (12.145.42.8)
with remote host IP (12.145.42.8)
DEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.662 : NewPassiveDataSocket(12.145.42.8,4500)
DEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.709 : ---> STOR Dellware\MEMORY_KINGSTON_EN_US.txt
ERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : Read failed ('' read so far)
ERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : Exception in SendCommand
ERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : EnterpriseDT.Net.Ftp.ControlChannelIOException:
Unable to read data from the transport connection: 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 [FTPControlSocket] 24 Oct 2010 10:09:12.771 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()
ERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()
ERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)
DEBUG [FTPClient] 24 Oct 2010 10:09:12.818 : Closing source stream
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : Caught exception
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: 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 [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.yVRgq92pF(String , Boolean )
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : SystemException in Put(string,string,bool)
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: 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 [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.GQphCRkP4(String , String , Boolean )
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : Exception in ValidateTransferOnError())
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : EnterpriseDT.Net.Ftp.FTPException: The FTP client has not yet connected to the server. The requested action cannot be performed until after a connection has been established.
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.Yqfr5SsNt(Boolean )
ERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()
DEBUG [FTPControlSocket] 24 Oct 2010 10:09:12.818 : Setting socket timeout=60
[/quote]