commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rory Winston" <rwins...@eircom.net>
Subject Re: [ftp] FTPClient hangs on logout
Date Wed, 07 Mar 2007 23:07:59 GMT
Possibly not. It may be related to the TelnetClient thread used by FTPClient which occasionally
hangs on a read(). If you are using JDK 5+, you can try the 2.0 RC, which may solve this:

http://people.apache.org/~rwinston/commons-net-2.0/commons-net-2.0.0-SNAPSHOT.jar

Rory


"Jakarta Commons Users List" <commons-user@jakarta.apache.org> wrote:

> 
> I tried FTPClient from commons-net 1.4.1 for the first time. Everything 
> works well, except that when I call client.logout() or client.quit(), 
> the program hangs and has to be killed manually. If I don't call quit(), 
> the program ends normally, and the connection appears to be closed 
> correctly.
> Any explanation? Am I missing something?
> 
> - Bernd
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 



-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts



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


Mime
View raw message