Changes

Release History

VersionDateDescription
2.0Backwards incompatible update of Commons VFS to Java 5

Release 2.0 -

TypeChangesBy

fix

Update the version of commons-net. Fixes VFS-348. Thanks to Stefan Bodewig.rgoers

fix

Documented FileSystem capabilities on the web site. Fixes VFS-230.rgoers

fix

AbstractFileObject and classes that extend from it use AbstractFileName in the constructor and in the createFile method. Fixes VFS-337.rgoers

fix

AbstractFileName is not immutable as it should be. equals(), hashcode() and compareTo() have been modified to return the same results regardless of whether the FileType is changed. Fixes VFS-245.rgoers

fix

DefaultFileSystemConfigBuilder.getConfigClass() returns DefaultFileSystemConfigBuilder.class which is not a FileSystem Fixes VFS-334. Thanks to sebb.sebb

fix

Add encoding option to FTP provider. Fixes VFS-305. Thanks to Tom.rgoers

fix

Fix potential NullPointerException if the DavProperty is null or contains null values. Fixes VFS-315. Thanks to David Hausladen.rgoers

fix

Add option for preemptive authentication for HTTP based protocols. Fixes VFS-316. Thanks to David Hausladen.rgoers

fix

Allow tar files that contain files over 2GB in size. Fixes VFS-322. Thanks to Curtis Boyden.rgoers

fix

Clear the cache in RamFileSystem and the children in RamFileData. Fixes VFS-324. Thanks to sebb.rgoers

fix

Typo in FtpsFileSystemConfigBuilder.setFtpsType Fixes VFS-319. Thanks to sebb.sebb

fix

InputStream and RandomAccessContent memory leak in FileContentThreadData Fixes VFS-227. Thanks to Sergey Vladimirov.rgoers

update

WebdavFileObject does not implement doSetAttribute() Fixes VFS-263. Thanks to Ingo Maas.rgoers

fix

Http and Webdav FIleContentInfoFactory: undress to AbstractFileObject before casting Fixes VFS-259. Thanks to Marek Zawirski.rgoers

fix

WebDAV upload corrupts binary files Fixes VFS-261. Thanks to Simon Olofsson.rgoers

fix

add ProviderTestConfig.getDefaultFileSystemManager() method Fixes VFS-276. Thanks to Vince Bonfanti.rgoers

fix

SftpFileProvider and SftpFileSystemConfigBuilder can't change ssh authentication methods Fixes VFS-282. Thanks to Alexey.rgoers

fix

HttpFileObject: unsupported content over 2GB length Fixes VFS-269. Thanks to Marek Zawirski.rgoers

fix

LocalFileName objects are not released from AbstractFileSystem.listenerMap when all listeners are removed. Fixes VFS-287. Thanks to Mircea-Eugen Ionica.rgoers

fix

The FTP Configuration includes an option to set a timeout for the data connection, but not for the socket timeout. This is a problem, as idle sockets can cause your download to hang forever and never timeout. Fixes VFS-216. Thanks to Reetu Mutti.rgoers

fix

FTP connection is not released If exception is thrown out of FtpFileObject.doGetOutputStream(). Fixes VFS-289. Thanks to Kirill Safonov.rgoers

fix

SftpFileObject.doListChildrenResolved() changes the working dir before doing ChannelSftp.ls() call. If ls() throws an exception, the current directory is not reset. All the subsequent operations that rely on the current dir will fail trying to change into nonexistent directory. Fixes VFS-286. Thanks to Kirill Safonov.rgoers

add

Rename HttpRandomAccesContent to HttpRandomAccessContent. Fixes VFS-244.rgoers