Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.2k views
in .NET FTP by (120 points)
I have been receiving the following error occasionally, and I was wondering if anyone can help me with why it is happening. I have been unable to reproduce it in my test environment. I am using edftp.net version 1.1.8.

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.GetData(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)

Any help would be greatly appreciated.

Thank you,

Jarrod

2 Answers

0 votes
by (200 points)
I am also facing the same issue.
Have you found a solution yet?


Hein
0 votes
by (162k points)
It could be that the server is timing out if it has been idle for a time.

Categories

...