commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Eggink <mono...@sudrala.de>
Subject Re: [ftp] FTPClient hangs on logout
Date Thu, 08 Mar 2007 09:04:24 GMT
Rory Winston schrieb:
> 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

No, sorry - same behavior here.

- Bernd


> "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 Eggink
monoped@sudrala.de
http://monoped.de

---------------------------------------------------------------------
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