Virtual File System provides a single API for accessing various different file systems. It presents a uniform view of the files from various different sources, such as the files on local disk, on an HTTP server, or inside a Zip archive.
Questions tagged [vfs]
321 questions
3
votes
3 answers
Make Apache virtual directory from the contents of a zip file
I have a couple of compressed zip file with static HTML content (e.g. a directory tree of documentation with several static html pages that link to each other, images, css, etc.) For instance, the javadoc zip file serves as an equivalent example for…

Ernesto
- 3,837
- 6
- 35
- 56
3
votes
2 answers
Include or require a vfsStream file
Using vfsStream, am I able to require or include a virtual file?
$structure = array(
'classes' => array('Foo.php' => '

thom
- 31
- 2
3
votes
1 answer
SQLite VFS working with a stream
I need an SQLite implementation that allows me to have the db file encrypted on disk, for security reasons. I noticed that SQLite only works with regular files, and that there's no implementation that supports streams available (oddly enough, as…

EEE
- 31
- 1
3
votes
2 answers
How to list files in directory inside classpath in web module
Inside my WEB application there is a classpath or resource directory with JSON and text files.
/classes/mydir/a.json
/classes/mydir/b.json
/classes/mydir/b.txt
/classes/mydir/xyz.json
I need a InputStream (to give to Jackson JSON ObjectMapper) to…

JStefan
- 149
- 1
- 2
- 11
3
votes
4 answers
How can I enumerate all the file in a directory in POSIX/c c++?
I need to enumarate all the file in a dir and then navigate to the subdir and do the same.
Ideally the algorithm should work in the same way on linux macos [windows(obsolete) no more].
UPDATE: I'm now aware of VFS but I'm puzzled to use VFS for…

maborg
- 435
- 5
- 24
3
votes
2 answers
Is it possible to have a Linux VFS cache with a FUSE filesystem?
It seems that the Linux VFS cache does not work by default with a FUSE filesystem. For example, the "read" call seems to be systematically forwarded to the FUSE filesystem.
I work on a FUSE specific remote filesystem. I need a very aggressive…

Fabien
- 178
- 1
- 7
3
votes
1 answer
WSO2 VFS FTP Proxy does not read parameters
I have written a proxy service and deployed on WSO2 ESB 5 to receive some file content via http and use vfs transport to transfer that content to an ftp server. The service works as expected when I specify the connection parameters correctly but…

Jairo FERNANDEZ
- 112
- 7
3
votes
1 answer
Where to find the latest wrapfs source code
I am planning to self study wrapfs, I downloaded the source from Florida state universities wrapfs page.
However, it seems an older version, since it uses big kernel smp locking mechanisms and is probably designed for <=2.6 kernel .
It would be…

Haswell
- 1,573
- 1
- 18
- 45
3
votes
3 answers
wso2esb - vfs-Proxy read/write binary with payloadFactory and mtom-optimization
Scenario:
I have a vfs-Proxy monitoring a folder for files with the extention .pdf.
The Proxy parses the file-content in base64binary into

Lukas Schober
- 31
- 5
3
votes
1 answer
Using Apache Commons VFS- SFTP, uploading to a server
I'm attempting to use Apache Commons VFS to SFTP a file onto a server, but I keep getting the following error:
java.lang.RuntimeException: org.apache.commons.vfs2.FileSystemException: Could not connect to SFTP server at…

TCRISP
- 31
- 1
- 4
3
votes
0 answers
Configuring Apache VFS using config files
I'm using Apache VFS and am configuring the SFTP file system programatically like this...
SftpFileSystemConfigBuilder.getInstance().setUserDirIsRoot(opts, true);
I want to be able to easily swap in different providers and not have to write code…

Chris Pike
- 272
- 2
- 10
3
votes
1 answer
org.apache.commons.vfs2.FileNotFolderException error navigating through folder using commons vfs 2.0
I just started to use apache commons vfs 2.0. I was trying to get file list of folder in c:\ but got error with c:\document and setting. Here is the code:
FileSystemManager fsm = VFS.getManager();
FileObject fo=fsm.resolveFile("c:\\");
…

user3315036
- 63
- 7
3
votes
1 answer
What is the difference between Virtual File System and System Call?
As I understand, kernel provides mainly two interface for user space to do something in kernel, these are System Call and Virtual File system (procfs, sysfs etc).
What I read in a book, that internally VFS also uses System Call.
So I want to know,…

Rahul
- 1,607
- 3
- 23
- 41
3
votes
1 answer
Apache VFS SFTP moveTo command fails
I am using Apache vfs sftp to copy a file to remote linux box and then rename it.
copy works fine, but when i try to rename the file, it fails.
I am using vfs 2.0 and jsch 0.1.50
Source(remoteFileTmp) :…

Neha
- 225
- 1
- 5
- 12
3
votes
1 answer
resteasy-spring module in jboss wildfly 8
I am having this problem with Wildfly 8 and resteasy-spring.jar (module). i am trying to deploy 2 wars on the same server, if i deploy 1 war it deploys fine, but whenever i add the second war it starts failing (and vice versa) with the following…

Katazo
- 115
- 1
- 9