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
0
votes
0 answers
How do I program a logical volume on Mac OS X (possibly using OSXFuse?)
I'm writing a MacOSX application that requires a logical VFS to be presented to the user. Its files' contents are derived from the files stored on the native filesystem, but its file hierarchy and organisation (basically, the directories) are…

fatuhoku
- 4,815
- 3
- 30
- 70
0
votes
1 answer
WSO2 ESB VFS Transport - Expects SOAP envelope
I am trying to do a FTP based integration using WSO2 ESB. I am able to transfer files from one FTP location to another using VFS transport. But WSO2 ESB expects soap envelope inside the file am transferring.
This logic will not suit in case if Am…

gnanagurus
- 883
- 1
- 12
- 29
0
votes
2 answers
Is wildcard searching possible with Apache Commons VFS?
I'm just learning Apache Commons VFS. I'd like to search for a file in a certain directory, but I don't know the exact name of the file. I do, however, know a part of the name.
To search for a file, I think I can do something like…

user1015721
- 149
- 1
- 7
0
votes
4 answers
ubuntu 10.0.4 gives kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) while booting
Hi i recently installed ubuntu 8.04 on my desktop and in the upgrades menu i gave upgrade to ubuntu 10.04.3 LTS but after installing it started giving me this error
[ 0.694063] Kernel panic - not syncing: VFS: Unable to mount root fs on…

user1844638
- 1,067
- 3
- 23
- 48
0
votes
2 answers
Accessing *.war classpath resources
I have a problem accessing VFS resources in JBoss using ClassLoader#getResources(-).
I want to list all classpath resources (WEB-INF/classes/*) of some web application (*.war), so I can start with something like:
ClassLoader cl =…

Piotr Nowicki
- 17,914
- 8
- 63
- 82
0
votes
1 answer
How to configure FTP endpoint with @ in the username
We are using WSO2 to access different FTP and the username for a specific FTP does contain the '@' which is predefined character for the server config.
Here an example of an Endpoint accessing such a FTP with the username 'MY@USERNAME':

Philipp
- 4,645
- 3
- 47
- 80
0
votes
1 answer
Incomplete file transfer when downloading a big file using ChannelSftp
Scenario
I am trying to download a big file (> 3 GB) using Apache VFS from an SFTP Server (Proftpd) programatically with Java. Apache VFS internally uses ChannelSftp from JSch.
Environment
Ubuntu Linux Server 12.4
Profptd…

Dynamicbyte
- 541
- 1
- 5
- 13
0
votes
1 answer
How to create a large binary file in C for Virtual File System?
Basically in my project I have to create a VSF on unix os using gcc. I have made the architecture which consists of a meta block, header which contains the file descriptor and the file blocks. Now if I have to create a file system of say 1 GB, I am…

Ananda
- 1,572
- 7
- 27
- 54
0
votes
1 answer
How to append response message to a text file?
I need write the response message to a "response.xml" file. And the response should be appended to this file, I set parameter "Append" true, but no use, is completely overwritten every time. Anyone can help me? Thanks and best regards.

ayan117
- 171
- 1
- 9
0
votes
1 answer
Equivalents for these functions in SolFS?
I am making an extension for an application. My extension uses SolFS and I want to use it to redirect all file traffic to SolFS. To accomplish this I need a bit of help because SolFS has not the equivalents for all needed functions (3 to be…
user1182183
0
votes
3 answers
copy .tar.gz files to folder
I want to copy contents of a .tar.gz files to 2 folder , It has around 20 files and total unzipped size will be >20 GB.
I used Truezip for this .
TFile archive = new TFile(absoluteZipName); // archive with .tar.gz
TFile[] archFiles =…

Abdul
- 321
- 4
- 22
0
votes
2 answers
How to get file name from FTP servers?
I want to add a service in WSO2, this service is mainly used to scan file on remote ftp servers and tells client the file name.
The process is as follows: Services scheduled scanning ftp direction, if found matching files, then send file name to…

luohao
- 135
- 2
- 14
0
votes
1 answer
WSO2 How to set ReplyFileName in VFS
I use VFS transform a file from txt to xml. My txt file name is:COS_201205071103_0000000001.txt. And the ReplyFileName must be COS_201205071103_0000000001.XML. I think I need get the txt file name and change it to xml. But how to get the txt file…

luohao
- 135
- 2
- 14
0
votes
1 answer
WSO2 How to transform file
Now I have a local file just like :
001 001 1.00
002 002 2.00
003 003 3.00 ;
I…

luohao
- 135
- 2
- 14
0
votes
2 answers
How to check in linux kernel at vfs layer whether the file object is for a directory or a file
How to check in linux kernel at vfs layer whether the file object is for a directory or a file?
I have found that there is a function called is_dx(dir) which checks for this but it is present in namei.c in ext3 or ext4. I need to do this at vfs…

Parag Amritkar
- 111
- 11