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

Transport Error

no avatar
User

scottctr

Transport Error

by scottctr » Mon Nov 29, 2004 5:00 am

no avatar
User

scottctr

Transport Error

by scottctr » Mon Nov 29, 2004 9:22 am

I now realize that the Transport Error was masking an error at a lower level. The first 1 or 2 transfers seem to work fine, but at some point the remote system isn't responding as edtFTP expects and never gets back in sync for the current session. Also notice the exception when Quit is called.

The remote server is Microsoft FTP Service.

The log below shows the details of my problem:

(3:11:42 PM) Command sent: ---> USER ******
(3:11:42 PM) Reply received: 331 Password required for ******.
(3:11:42 PM) Command sent: ---> PASS ********
(3:11:42 PM) Reply received: 230 User ****** logged in.
(3:11:42 PM) Command sent: ---> TYPE I
(3:11:42 PM) Reply received: 200 Type set to I.
(3:11:42 PM) Command sent: ---> PORT 192,168,1,100,9,26
(3:11:42 PM) Reply received: 200 PORT command successful.
(3:11:42 PM) Command sent: ---> RETR agentsagents.log
(3:11:42 PM) Reply received: 150 Opening BINARY mode data connection for agentsagents.log(541 bytes).
(3:11:42 PM) Reply received: 226 Transfer complete.
(3:11:42 PM) Command sent: ---> PORT 192,168,1,100,9,28
(3:11:56 PM) Error retrieving AgentsAgents.Zip: System.IO.IOException: Unable to read data from the transport connection. ---> 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
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 86
(3:11:56 PM) Command sent: ---> PORT 192,168,1,100,9,30
(3:12:06 PM) Error retrieving OfficesOffices.log: System.IO.IOException: Unable to read data from the transport connection. ---> 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
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 95
(3:12:06 PM) Command sent: ---> PORT 192,168,1,100,9,32
(3:12:17 PM) Error retrieving OfficesOffices.zip: System.IO.IOException: Unable to read data from the transport connection. ---> 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
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 104
(3:12:17 PM) Command sent: ---> PORT 192,168,1,100,9,36
(3:12:27 PM) Error retrieving Daily_DataCIB.log: System.IO.IOException: Unable to read data from the transport connection. ---> 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
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 113
(3:12:27 PM) Command sent: ---> PORT 192,168,1,100,9,38
(3:12:38 PM) Error retrieving Daily_DataCIB.zip: System.IO.IOException: Unable to read data from the transport connection. ---> 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
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 122
(3:12:38 PM) Command sent: ---> PORT 192,168,1,100,9,40
(3:12:49 PM) Error retrieving Daily_DataLND.log: System.IO.IOException: Unable to read data from the transport connection. ---> 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
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 131
(3:12:49 PM) Command sent: ---> PORT 192,168,1,100,9,42
(3:12:58 PM) Error retrieving Daily_DataLND.zip: System.IO.IOException: Unable to read data from the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 140
(3:12:58 PM) Command sent: ---> PORT 192,168,1,100,9,44
(3:12:58 PM) Error retrieving Daily_DataRES.log: System.IO.IOException: Unable to write data to the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 149
(3:12:58 PM) Command sent: ---> PORT 192,168,1,100,9,45
(3:12:58 PM) Error retrieving Daily_DataRES.zip: System.IO.IOException: Unable to write data to the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 158
(3:12:58 PM) Command sent: ---> PORT 192,168,1,100,9,46
(3:12:58 PM) Unable to retrieve Daily.006.Sun.20041128CIB001_photos.zip: System.IO.IOException: Unable to write data to the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 169
(3:12:58 PM) Command sent: ---> PORT 192,168,1,100,9,47
(3:12:58 PM) Unable to retrieve Daily.006.Sun.20041128LND001_photos.zip: System.IO.IOException: Unable to write data to the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 179
(3:12:58 PM) Command sent: ---> PORT 192,168,1,100,9,48
(3:12:58 PM) Unable to retrieve Daily.006.Sun.20041128RES001_photos.zip: System.IO.IOException: Unable to write data to the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at EnterpriseDT.Net.Ftp.FTPClient.InitGet(String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 189
(3:12:58 PM) Command sent: ---> QUIT
(3:12:58 PM) Calling Quit : System.IO.IOException: Unable to write data to the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Flush()
at EnterpriseDT.Net.Ftp.FTPControlSocket.WriteCommand(String command)
at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)
at EnterpriseDT.Net.Ftp.FTPClient.Quit()
at RealtyAssociates.Updates.Updater.RetrieveListings() in c:\inetpub\wwwroot\realtyassoc\updater\updater.cs:line 233

Any help is appreciated.
Scott C.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Transport Error

by support2 » Mon Nov 29, 2004 9:02 pm

no avatar
User

jhotjoe

by jhotjoe » Thu Dec 16, 2004 11:50 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Thu Dec 16, 2004 7:26 pm

no avatar
User

jhotjoe

by jhotjoe » Mon Dec 20, 2004 9:35 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Mon Dec 20, 2004 7:22 pm

no avatar
User

jkaczor

Posts

13

Joined

Sat Oct 16, 2004 12:01 am

Re: Transport Error

by jkaczor » Mon Jan 31, 2005 10:56 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Transport Error

by support2 » Mon Jan 31, 2005 5:39 pm

no avatar
User

jkaczor

Posts

13

Joined

Sat Oct 16, 2004 12:01 am

Re: Transport Error

by jkaczor » Tue Feb 01, 2005 2:41 am


Who is online

Users browsing this forum: No registered users and 9 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign