[Bug classpath/27163] FTP directory listing doesn't work
r_ovidius at eml dot cc
gcc-bugzilla@gcc.gnu.org
Thu Apr 20 17:20:00 GMT 2006
------- Comment #3 from r_ovidius at eml dot cc 2006-04-20 17:20 -------
Try with
String url = "ftp://gcc.gnu.org";
(notice the missing "/" at the end). This results in
gnu.java.net.protocol.ftp.FTPException: Invalid number of arguments.
at gnu.java.net.protocol.ftp.FTPConnection.changeWorkingDirectory
(libgcj.so.7)
at gnu.java.net.protocol.ftp.FTPURLConnection.getInputStream (libgcj.so.7)
at java.net.URL.openStream (libgcj.so.7)
with gcj (GCC) 4.2.0 20060419 (experimental).
Further, the "while (file.ready())" never seems to return false in Sun's java,
while it does with gcj, so I'd wager on the "obscure bug".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27163
More information about the Java-prs
mailing list