bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/27163] FTP directory listing doesn't work


From: r_ovidius at eml dot cc
Subject: [Bug classpath/27163] FTP directory listing doesn't work
Date: 20 Apr 2006 17:20:39 -0000


------- 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]