Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 22449 invoked from network); 30 Nov 2006 19:27:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2006 19:27:08 -0000 Received: (qmail 99393 invoked by uid 500); 30 Nov 2006 19:27:09 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 99291 invoked by uid 500); 30 Nov 2006 19:27:09 -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 99269 invoked by uid 99); 30 Nov 2006 19:27:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 11:27:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 11:26:56 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GprYK-0000cA-4Q for commons-user@jakarta.apache.org; Thu, 30 Nov 2006 11:26:36 -0800 Message-ID: <7626061.post@talk.nabble.com> Date: Thu, 30 Nov 2006 11:26:36 -0800 (PST) From: jsulman To: commons-user@jakarta.apache.org Subject: UnixFTPEntryParser error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Jeff.Sulman@irs.gov X-Virus-Checked: Checked by ClamAV on apache.org Greetings, I am having a problem with the Apache Commons FTP api. I am trying to get a list of files on a unix box via ftp with this simple method: FTPClient ftp = new FTPClient(); try{ ftp.connect(server); ftp.login(userId, password); FTPFile[] files = ftp.listFiles(folder); } catch(Exception e) { e.printStackTrace(); } I am getting connected but the listFiles method gives me the following exception: Does anybody have any idea why this is happening. Thanks in advance Steerforth java.lang.NoClassDefFoundError: org.apache.commons.net.ftp.parser.UnixFTPEntryParser org.apache.commons.net.ftp.FTPFileEntryParser org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createUnixFTPEntryParser() DefaultFTPFileEntryParserFactory.java:169 org.apache.commons.net.ftp.FTPFileEntryParser org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(java.lang.String) DefaultFTPFileEntryParserFactory.java:94 org.apache.commons.net.ftp.FTPListParseEngine org.apache.commons.net.ftp.FTPClient.initiateListParsing(java.lang.String, java.lang.String) FTPClient.java:2358 org.apache.commons.net.ftp.FTPFile[] org.apache.commons.net.ftp.FTPClient.listFiles(java.lang.String) FTPClient.java:2141 void com.ceas.Utilities.ArchiveLogFiles.doFTP(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) ArchiveLogFiles.java:450 void com.ceas.Utilities.ArchiveLogFiles.main(java.lang.String[]) ArchiveLogFiles.java:458 Exception in thread main -- View this message in context: http://www.nabble.com/UnixFTPEntryParser-error-tf2733729.html#a7626061 Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org