You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Gabriel Birke <ga...@gmail.com> on 2006/11/11 12:54:38 UTC

[Net] FTP: ftp.logout produces a SocketException when firewall is active

Hello,

I'm using the FTPClient class for an upload applet. The upload code is
structured like the example code given in the docs. I'm using
enterLocalPassiveMode() after login and completePendingCommand() after
each upload.

The uploads work fine, even when uploading several files. But when I
call the logout() method I get a SocketException with the message
"Connection reset" - when my firewall is active (though not all of the
time but in ca. 80-90% of the calls). If it is inactive, everything
works fine. I'm using the standard Windows firewall without
modifications.

Is there some way around that?

Gabriel

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