Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE43491F9 for ; Thu, 26 Jul 2012 13:32:36 +0000 (UTC) Received: (qmail 38562 invoked by uid 500); 26 Jul 2012 13:22:53 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 35400 invoked by uid 500); 26 Jul 2012 13:22:31 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 84782 invoked by uid 99); 26 Jul 2012 08:58:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2012 08:58:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 35F89140541 for ; Thu, 26 Jul 2012 08:58:35 +0000 (UTC) Date: Thu, 26 Jul 2012 08:58:35 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: <1695485022.105274.1343293115222.JavaMail.jiratomcat@issues-vm> In-Reply-To: <417478052.94844.1343117554847.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Closed] (NET-476) FTP parser initialization from invalid line MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb closed NET-476. -------------------- > FTP parser initialization from invalid line > ------------------------------------------- > > Key: NET-476 > URL: https://issues.apache.org/jira/browse/NET-476 > Project: Commons Net > Issue Type: Bug > Components: FTP > Environment: Ubuntu Linux 10.04 amd64, vsftpd 2.2.2 > Reporter: Konrad Garus > > After upgrading from 1.4.1 to 3.1, we noticed the FTP client sometimes fails to list files. It seems to occur intermittently, possibly when the system is under relatively high load and does not respond immediately. > From stacktraces, it seems like multithreading issues or trying to parse system type from reply to another command than SYST: > {code} > Caused by: org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: PORT command successful. Consider using PASV. > at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118) > at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2359) > at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2142) > at > {code} > {code} > Caused by: org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Directory send OK. > at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118) > at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2359) > at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2142) > at > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira