DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35338>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35338 ------- Additional Comments From [EMAIL PROTECTED] 2005-06-30 08:48 ------- Sorry for not responding sooner. I've been out sick. And yesterday, I posted some results here that didn't seem to show up. So, I'll post again. As per a suggestion here, I replaced listNames() with listFiles and got the following wierd output: [EMAIL PROTECTED] 1.2]# cat Test.java import org.apache.commons.net.ftp.*; import java.net.*; import java.io.*; public class Test { public static void main (String[] args) { FTPClient ftp = new FTPClient(); try { ftp.enterLocalPassiveMode(); ftp.connect("konsensys.com"); ftp.login("[EMAIL PROTECTED]", "errorlog"); System.out.println("Immediately before call to listFiles()"); FTPFile[] files = ftp.listFiles(); System.out.println("Immediately after call to listFiles()"); for (int i = 0; i < files.length; i++) System.out.println(files[i]); } catch (Exception ex) { } } } [EMAIL PROTECTED] 1.2]# java -cp .:commons-net-1.4.0.jar Test Immediately before call to listFiles() 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) at Test.main(Test.java:14) And, as per suggestion: [EMAIL PROTECTED] 1.2]# /sbin/iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain RH-Firewall-1-INPUT (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhere icmp any ACCEPT ipv6-crypt-- anywhere anywhere ACCEPT ipv6-auth-- anywhere anywhere ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353 ACCEPT udp -- anywhere anywhere udp dpt:ipp ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED REJECT all -- anywhere anywhere reject-with icmp-host-prohibited I believe the above indicates the firewalls are disabled. I disabled them via the wizard when installing the Linux OS (couldn't find a firewall tool). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
