I have been getting an exception when transferring large files to my FTP server lately. I'm not sure what is causing it at this point. Here is the log information:
DEBUG [FTPConnection] 2 Jun 2011 13:33:37.253 : Set LocalDirectory='C:\Data\'
DEBUG [FTPClient] 2 Jun 2011 13:33:37.253 : Connecting to 66.96.nnn.mmm:21
DEBUG [HostNameResolver] 2 Jun 2011 13:33:37.253 : Resolving 66.96.nnn.mmm
DEBUG [HostNameResolver] 2 Jun 2011 13:33:37.253 : 66.96.nnn.mmm resolved to 66.96.nnn.mmm
INFO [BaseSocket] 2 Jun 2011 13:33:37.253 : Connecting to 66.96.nnn.mmm:21 with timeout 30000 ms
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:37.347 : Setting socket timeout=30000
INFO [FTPControlSocket] 2 Jun 2011 13:33:37.347 : Command encoding=System.Text.SBCSCodePageEncoding
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:37.347 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:37.456 : 220-
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:37.753 : 220 Ipage FTP Server ready
DEBUG [FTPConnection] 2 Jun 2011 13:33:37.753 : Connected to 66.96.nnn.mmm (instance=2)
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:37.753 : ---> USER lwtrials
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:37.846 : 331 Password required for lwtrials
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:37.846 : ---> PASS ********
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.065 : 230 User lwtrials logged in
DEBUG [FTPConnection] 2 Jun 2011 13:33:38.065 : Successfully logged in
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.065 : ---> FEAT
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : 211-Features:
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : MDTM
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : MFMT
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : TVFS
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : MFF modify;UNIX.group;UNIX.mode;
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : SITE MKDIR
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : SITE RMDIR
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : SITE UTIME
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : SITE SYMLINK
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : REST STREAM
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.189 : SIZE
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.501 : 211 End
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.501 : ---> TYPE I
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.595 : 200 Type set to I
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.595 : ---> PWD
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.689 : 257 "/" is the current directory
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.689 : NewActiveDataSocket(0)
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:38.689 : ---> PORT 192,168,1,134,192,45
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:39.001 : 200 PORT command successful
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:39.001 : ---> STOR 002010VEACHA.zip
DEBUG [FTPControlSocket] 2 Jun 2011 13:33:39.203 : 150 Opening BINARY mode data connection for 002010VEACHA.zip
DEBUG [FTPActiveDataSocket] 2 Jun 2011 13:33:39.203 : AcceptConnection() succeeded
DEBUG [FTPClient] 2 Jun 2011 13:37:25.466 : Closing source stream
ERROR [FTPClient] 2 Jun 2011 13:37:25.466 : Caught exception
ERROR [FTPClient] 2 Jun 2011 13:37:25.466 : System.IO.IOException: Unable to write data to 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] 2 Jun 2011 13:37:25.466 : at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
ERROR [FTPClient] 2 Jun 2011 13:37:25.466 : at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count)
ERROR [FTPClient] 2 Jun 2011 13:37:25.466 : at EnterpriseDT.Net.Ftp.FTPClient.PutBinary(Stream srcStream, String remoteFile, Boolean append, Boolean alwaysCloseStreams)
ERROR [FTPClient] 2 Jun 2011 13:37:25.466 : CAUSED BY - System.Net.Sockets.SocketException: Unable to write data to 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] 2 Jun 2011 13:37:25.466 : at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
ERROR [FTPClient] 2 Jun 2011 13:37:25.466 : at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
ERROR [FTPClient] 2 Jun 2011 13:37:25.560 : SystemException in Put(Stream,string,bool)
ERROR [FTPClient] 2 Jun 2011 13:37:25.560 : System.IO.IOException: Unable to write data to 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] 2 Jun 2011 13:37:25.560 : at EnterpriseDT.Net.Ftp.FTPClient.PutBinary(Stream srcStream, String remoteFile, Boolean append, Boolean alwaysCloseStreams)
ERROR [FTPClient] 2 Jun 2011 13:37:25.560 : at EnterpriseDT.Net.Ftp.FTPClient.Put(Stream srcStream, String remoteFile, Boolean append)
ERROR [FTPClient] 2 Jun 2011 13:37:25.560 : CAUSED BY - System.Net.Sockets.SocketException: Unable to write data to 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] 2 Jun 2011 13:37:25.560 : at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
ERROR [FTPClient] 2 Jun 2011 13:37:25.560 : at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
DEBUG [FTPControlSocket] 2 Jun 2011 13:37:25.575 : Setting socket timeout=500
ERROR [FTPControlSocket] 2 Jun 2011 13:37:26.605 : Read failed ('' read so far)
WARN [FTPClient] 2 Jun 2011 13:37:26.605 : ReadReply failed
WARN [FTPClient] 2 Jun 2011 13:37:26.605 : 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.
WARN [FTPClient] 2 Jun 2011 13:37:26.605 : at EnterpriseDT.Net.Ftp.FTPControlSocket.ReadLine()
WARN [FTPClient] 2 Jun 2011 13:37:26.605 : at EnterpriseDT.Net.Ftp.FTPControlSocket.ReadReply()
WARN [FTPClient] 2 Jun 2011 13:37:26.605 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransfer()
ERROR [FTPClient] 2 Jun 2011 13:37:26.605 : Exception in ValidateTransferOnError())
ERROR [FTPClient] 2 Jun 2011 13:37:26.605 : 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] 2 Jun 2011 13:37:26.605 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransfer()
ERROR [FTPClient] 2 Jun 2011 13:37:26.605 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()
DEBUG [FTPControlSocket] 2 Jun 2011 13:37:26.605 : Setting socket timeout=30000
DEBUG [FTPConnection] 2 Jun 2011 13:37:26.605 : GetLastWriteTime(002010VEACHA.zip)
WARN [FTPConnection] 2 Jun 2011 13:37:26.621 : Could not retrieve mod