Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 1264 invoked from network); 29 Aug 2007 16:56:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 16:56:56 -0000 Received: (qmail 60652 invoked by uid 500); 29 Aug 2007 16:56:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 60583 invoked by uid 500); 29 Aug 2007 16:56:49 -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 60574 invoked by uid 99); 29 Aug 2007 16:56:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 09:56:49 -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; Wed, 29 Aug 2007 16:57:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 47528714191 for ; Wed, 29 Aug 2007 09:56:31 -0700 (PDT) Message-ID: <12083289.1188406591288.JavaMail.jira@brutus> Date: Wed, 29 Aug 2007 09:56:31 -0700 (PDT) From: "burak ulutoprak (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (NET-169) Cannot return files with listNames() function MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Cannot return files with listNames() function --------------------------------------------- Key: NET-169 URL: https://issues.apache.org/jira/browse/NET-169 Project: Commons Net Issue Type: Bug Affects Versions: 1.4 Environment: Windows, Eclipse Reporter: burak ulutoprak Hi, I am connecting to an ftp server with my username and password. When I call ftpClient.listNames(); it returns 0 length string array although i am very sure that there are files inside. I also know that when I changed the ftp server to another one this function works. So I am assuming the server that I connected has a weird ftp server. When I called the function ftpClient.getSystemName() it returns UNKNOWN Type: L8. If I call ftpClient.listNames I got this exception org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: UNKNOWN Type: L8 at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:125) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2362) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2192) I have to get the filenames from the server, so how can I solve the problem. Thanks for the helps. Burak Ulutoprak -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.