On Fri, Nov 5, 2010 at 12:22 PM, James Carman
<ja...@carmanconsulting.com> wrote:
>
> FTP support works without Net at all.  I just ran a test client and
> excluded anything but the "core" from the classpath.  It used the
> org.apache.commons.vfs.provider.url.UrlFileSystem to handle FTP URLs.

Interestingly enough, the program fails when I put net 1.4.1 on the
classpath with:

Exception in thread "main"
org.apache.commons.vfs.FileNotFoundException: Could not read from
"ftp://ftp.microsoft.com/MISC/CBCP.TXT"; because it is a not a file.
        at 
org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1281)
        at 
org.apache.commons.vfs.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:394)
        at com.carmanconsulting.vfs.App.main(App.java:38)
Caused by: java.io.FileNotFoundException: ftp://ftp.microsoft.com/MISC/CBCP.TXT
        at 
org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetInputStream(FtpFileObject.java:594)
        at 
org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1273)
        ... 2 more

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

Reply via email to