commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: [VOTE] Release Commons VFS 2.0
Date Fri, 05 Nov 2010 16:24:52 GMT
On Fri, Nov 5, 2010 at 12:22 PM, James Carman
<james@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message