commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artamonov, Juri" <>
Subject RE: [vfs] FTP File is Not a File?
Date Thu, 29 Nov 2007 08:47:42 GMT
I couldn't get it as well before since I always was getting
UrlFileProvider. After I looked on the code I see that providers.xml

        <scheme name="ftp"/>
        <if-available class-name=""/>

That means should be in your
classpath. After I added the corresponding library it works.

Best regards,

-----Original Message-----
From: []
On Behalf Of James Carman
Sent: Thursday, November 29, 2007 3:53 AM
To: Jakarta Commons Users List
Subject: [vfs] FTP File is Not a File?

I accidentally posted this on the dev list earlier.  I meant to send
it to user@.  Sorry for cross-posting.

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 =

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

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message