Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 22513 invoked from network); 8 Mar 2007 10:47:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 10:47:24 -0000 Received: (qmail 19325 invoked by uid 500); 8 Mar 2007 10:47:21 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 19243 invoked by uid 500); 8 Mar 2007 10:47:21 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 19222 invoked by uid 99); 8 Mar 2007 10:47:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 02:47:21 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [159.134.118.30] (HELO mail14.svc.cra.dublin.eircom.net) (159.134.118.30) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 08 Mar 2007 02:47:11 -0800 Received: (qmail 88562 messnum 5478551 invoked from network[159.134.237.71/webmail04.eircom.net]); 8 Mar 2007 10:46:50 -0000 Received: from webmail04.eircom.net (HELO webmail.eircom.net) (159.134.237.71) by mail14.svc.cra.dublin.eircom.net (qp 88562) with SMTP; 8 Mar 2007 10:46:50 -0000 From: "Rory Winston" Reply-To: To: "Jakarta Commons Users List" , Jakarta Commons Users List Subject: Re: [ftp] FTPClient hangs on logout Date: Thu, 8 Mar 2007 10:46:50 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Originating-IP: 171.192.0.10 X-Mailer: Eircom Net CRC Webmail (http://www.eircom.net/) Organization: Eircom Net (http://www.eircom.net/) X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20070308104712.3BF1310FB007@herse.apache.org> Are you running on a Linux platform by any chance? Rory "Jakarta Commons Users List" wrote: > > 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" 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 > > ----------------------------------------------------------------- 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