Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 22647 invoked from network); 18 Dec 2006 21:09:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2006 21:09:47 -0000 Received: (qmail 16512 invoked by uid 500); 18 Dec 2006 21:09:52 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 16452 invoked by uid 500); 18 Dec 2006 21:09:52 -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 16441 invoked by uid 99); 18 Dec 2006 21:09:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 13:09:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Mon, 18 Dec 2006 13:09:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D90D671428E for ; Mon, 18 Dec 2006 13:09:23 -0800 (PST) Message-ID: <15475609.1166476163886.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 13:09:23 -0800 (PST) From: "Ross Mills (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (NET-61) [net] FTPClient.listFiles() hangs on Red Hat Linux MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/NET-61?page=comments#action_12459464 ] Ross Mills commented on NET-61: ------------------------------- I am having the same problem when running my code on a Solaris box and try to list files from another Solaris box. ListNames works fine, but ListFiles hangs. Any progress in the past 3 months on this issue? > [net] FTPClient.listFiles() hangs on Red Hat Linux > -------------------------------------------------- > > Key: NET-61 > URL: http://issues.apache.org/jira/browse/NET-61 > Project: Commons Net > Issue Type: Bug > Affects Versions: 1.4 Final > Environment: Operating System: Linux > Platform: PC > Reporter: George Van Treeck > Priority: Blocker > > A Java app that uses FTPClient to download a file from a website to Windows XP > works properly. But, when the same app runs on Linux to download the same file > from the same website, it hangs at listFiles(). > Using Java 1.5.0_03 on both the Windows XP and Linux. The version of Linux > used is Fedor Red Hat Linux Core 3 with all the latest updates. The following > segment of code from the program demonstrates the problem: > FTPClient ftp = new FTPClient(); > ftp.connect(host); > reply = ftp.getReplyCode(); > if (!FTPReply.isPositiveCompletion(reply)) { > final String ftpStatus = ftp.getReplyString(); > ftp.disconnect(); > throw new IOException( > "FTP server refused connection. Status: " + > ftpStatus); > } > ftp.login(user, password); > reply = ftp.getReplyCode(); > if (!FTPReply.isPositiveCompletion(reply)) { > final String ftpStatus = ftp.getReplyString(); > ftp.disconnect(); > throw new IOException( > "FTP server refused username/password. Status: " + > ftpStatus); > } > String[] list = ftp.listNames(); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org