Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 57204 invoked from network); 7 Aug 2006 20:12:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Aug 2006 20:12:36 -0000 Received: (qmail 10183 invoked by uid 500); 7 Aug 2006 20:12:32 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 10018 invoked by uid 500); 7 Aug 2006 20:12:31 -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 9998 invoked by uid 99); 7 Aug 2006 20:12:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 13:12:31 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.48.234] (HELO web52711.mail.yahoo.com) (206.190.48.234) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 07 Aug 2006 13:12:30 -0700 Received: (qmail 34123 invoked by uid 60001); 7 Aug 2006 20:12:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZsHc5kHm2qEP0PmXL63Nuc92KiXQH7vZaPLkZvC3ETeCw+7rNPydl2y8u2z3UwhosnpFNtpr8KqdzqsaPBse7PS/QyoDPp5UVfj/rhW6+pxlfIPIKZVElGDv29jKzDKhq1lZmWxcV05jXOO8ZEAi4pBW1lcyq23As9STeEIudOc= ; Message-ID: <20060807201209.34121.qmail@web52711.mail.yahoo.com> Received: from [65.54.154.114] by web52711.mail.yahoo.com via HTTP; Mon, 07 Aug 2006 13:12:09 PDT Date: Mon, 7 Aug 2006 13:12:09 -0700 (PDT) From: Anil Philip Subject: Re: [commons-net/ftp] help! MalformedPatternException in listFiles() To: Jakarta Commons Users List In-Reply-To: <44D793A7.8010505@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for replying - but why does it need to use oro.jar? especially when the call I made does not require a regex? oro.jar is 64Kb. My application is sensitive to download file sizes. I dont need 64Kb of unneeded weight! Is there a solution? thanks, Anil --- Dennis Lundberg wrote: > Please see: > > http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions > > -- > Dennis Lundberg > > Anil Philip wrote: > > Hello, > > I am getting this error during a call to > > FTPFile[] f = FTPClient.listFiles(); > > Using commons-net-1.4.1 > > > > > =================================================== > > Exception in thread "main" > > java.lang.NoClassDefFoundError: > > > org/apache/oro/text/regex/MalformedPatternException > > at > > > org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createUnixFTPEntryParser(DefaultFTPFileEntryParserFactory.java:169) > > at > > > org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:94) > > at > > > org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358) > > at > > > org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141) > > at > > > org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188) > > > =================================================== > > > > Any help appreciated. > > thanks, > > anil > > > > > > for good news go to > http://members.tripod.com/~goodnewsforyou/goodnews.html > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > commons-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: > commons-user-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > commons-user-help@jakarta.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org