Anil At the moment, you need oro in the classpath as it is used internally by the FTP parser. A later version of [net] will probbaly use the JDK 1.4+ regex facilities and preclude this, but for now, you do need it.
Thanks Rory "Jakarta Commons Developers List" <[email protected]> wrote: > > Hello, > I am getting this error during a call to > FTPFile[] f = FTPClient.listFiles(); > Using commons-net-1.4.1 > I googled and read that the oro.jar is missing. > However my application is sensitive to download times > and I dont wish to add the oro.jar if possible - I am > not using regex here. > Is there any way out? > thanks, > Anil > > =================================================== > 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 > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ----------------------------------------------------------------- Find the home of your dreams with eircom net property Sign up for email alerts now http://www.eircom.net/propertyalerts --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
