Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 96783 invoked from network); 28 Jun 2007 16:15:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jun 2007 16:15:37 -0000 Received: (qmail 54238 invoked by uid 500); 28 Jun 2007 16:13:08 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 54152 invoked by uid 500); 28 Jun 2007 16:13:08 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 53901 invoked by uid 99); 28 Jun 2007 16:13:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 09:13:05 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 09:12:48 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 99FD8714062 for ; Thu, 28 Jun 2007 09:12:28 -0700 (PDT) Message-ID: <940722.1183047148624.JavaMail.jira@brutus> Date: Thu, 28 Jun 2007 09:12:28 -0700 (PDT) From: "Arash Joorabchi (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Created: (NET-162) Logout failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Logout failure -------------- Key: NET-162 URL: https://issues.apache.org/jira/browse/NET-162 Project: Commons Net Issue Type: Bug Affects Versions: 1.4 Environment: Windows Reporter: Arash Joorabchi Hi all, I have a small class that just logs into a FTP serever and then Logs out I tried both of the following lines for logging out 1. ftp.logout(); 2. ftp.sendCommand("quit"); and they both cause this exception: Connected to www.ideas.ie. 220 ProFTPD 1.3.0a Server (IDEAs FTP Server) [193.1.99.22] 230 User **** logged in. java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) 0 at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.net.telnet.TelnetInputStream.__read(TelnetInputStream.java:114) at org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.java:535) at java.lang.Thread.run(Thread.java:619) Any suggestions ? Does ftp.disconnect has the same effect as logging out ? Because disconnect function works allright. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org