You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by David Leangen <dl...@canada.com> on 2005/07/05 23:44:50 UTC

[Net] SocketException - Connection reset

Hello!

I keep coming across this problem when using FTP. I am able to successfully
retrieve a file from a remote server in passive mode, but afterwards, when I
try to logout, I get an IOError caused by a SocketException: Connection
reset.

There are several ways to work around this "problem", but I am wondering if
anybody can tell me WHY this happens? Why would a remote server reset the
connection after the completion of a get? (Or IS it the remote server that's
causing the reset?) Also, why does this happen only sometimes, and not
consistently?


Any explanation or even a link to relevant doc would be very much
appreciated.


Cheers,
Dave




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org