commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject [vfs] FTP file is not a file?
Date Wed, 28 Nov 2007 20:09:46 GMT
Can someone else try this out, please?  I don't know what's going on
here.  I can access the file by pasting the URL into my browser(s) and
via a text-based FTP client, but I can't get Java to download it.  I
tried using URL objects and that doesn't work either.  I figured VFS
would be able to handle it:

FileSystemManager fsm = VFS.getManager();
FileObject fo =
fsm.resolveFile("ftp://rgd.mcw.edu/pub/data_release/README.txt");
fo.getContent();

If anyone has any ideas, please let me know.  Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message