apache-common-vfs

Integration of apache common vfs and mercurial

Can Apache common vfs api retrieve/update/add files from/to the Mercurial version control system? Common vfs does have an interface api for accessing vcs. Is there a provider for Mercurial? hbagchi ...

How to check if FileObject is folder?

I'm using Apache Commons VFS (Virtual File System) to access some files over SFTP. Does anybody know how to check if an instance of org.apache.commons.vfs.FileContent is folder? ...

Trying to set up Amazon S3 filesystem in Apache Commons VFS in java

I'm trying to use VFS S3 a plugin for the Apache Commons VFS for Amazon S3. I've included the jar and it's recognising the s3 schema. However when I try to open a file (which is public, I can open it on my web browser), I get this error: Could not create a file system manager of class "org.apache.commons.vfs.impl.StandardFileSystemMan...

Cannot connect to SFTP server using Commons VFS

Hi everyone, I have a UI application running on windows machine which reads and writes files from the remote sftp server. I am using Apache Commons VFS to get to the files. I am able to read/write files if I am on the client's network but not able to do so while I am on my company's network. My guess is that firewall is blocking the re...

Apache VFS relative URL access to ZIP file contents

Hello All, When I access ZIP contents by passing absoluteURL works fine. My code: FileObject test = fileManager.resolveFile("zip:file:C:/myFolder/test/myZip.zip!help.txt"); assertTrue(test.exists()); Same using relative URL - resolvefile(File baseFile,String uri) File file = new File("C:/myFolder"); FileObject test = fileManager.resolv...