Questions tagged [vfs]

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.

321 questions
0
votes
1 answer

WOS2 Sending File by SFTP with Guaranteed Delivery

I have a question regarding the following scenario: I want to pick up a file from an SFTP server using the WSO2 VFS transport. This file should then be passed on to a target system using e.g. SOAP. One requirement I have is that the file mustn't get…
Heiko
  • 53
  • 5
0
votes
1 answer

How does Linux determine filename case on ISO 9660?

Here is a quote from this article: ISO 9660 is not a complex file system, but has a few quirks that are worth remembering. It seems that some operating systems also create non-compliant CDs, so beware! The main example of this is the …
Isaac D. Cohen
  • 797
  • 2
  • 10
  • 26
0
votes
1 answer

Check remote server disk space using commons VFS

I am using apache commons VFS to transfer the files to remote linux machine on sftp. Is it possible to check the disk space of remote machine before transferring?I want to transfer the file only if less than 80% of the disk space is full. File…
user608020
  • 313
  • 4
  • 15
0
votes
2 answers

Understanding "create a virtual filesystem which allows mapping of arbitrary directories" for FTP server project

Disclaimer: This is homework; I don't want a solution. Also, no libraries outside c/c++ standard libraries are available. I'm looking for a push in the right direction to understand what this portion of work from my assigned semester project (create…
ironicaldiction
  • 1,200
  • 4
  • 12
  • 27
0
votes
1 answer

How to read VFS attributes in Linux

I have some question. I try to read some VFS attributes, for example s_magic value in struct super_block. but I cant read s_magic. This is my code. #include #include #include #include int main() { int fd; …
pamiers
  • 355
  • 1
  • 3
  • 11
0
votes
1 answer

How can I use VFS transport in WSO CEP 3.0?

I need write enents information into file. Can anybody show me example of output adapter for WSO2CEP 3.0?
Paul
  • 3
  • 1
0
votes
0 answers

WSO2 ESB: Moving a file from source path received in a web service payload

I have a web service in WSO2 ESB that receives a file path. Everytime the service is consumed I have to move all files from the path received to another one. I have beeing having a look to vfs but it is a daemon (obviously you can set the interval…
fipries
  • 386
  • 3
  • 19
0
votes
1 answer

About file operation in linux kernel

I have a question about the how the file_operations in the struct file is defined in linux kernel vfs_read() calls ret = file->f_op->read(file, buf, count, pos); I know this read is a function pointer, which is defined in some driver code, but is…
jiawen
  • 1,198
  • 2
  • 17
  • 29
0
votes
1 answer

How to turn off or disable vfs file loading in JBOSS AS7

I am using jboss AS7 as server and also i am using the following code for getting all jar files which contains particular resource file. try { urls = Thread.currentThread().getContextClassLoader().getResources("config.properties"); //Here…
Anish Antony
  • 875
  • 3
  • 17
  • 35
0
votes
1 answer

Streaming large files with WSO2 VFS transport

I've got a question regarding the streaming of large files using WSO2 ESB and the VFS transport. I have set up a proxy reading a file from an FTP location. This file should be streamed through WSO2 and be written to a targert location. In order to…
Heiko
  • 53
  • 5
0
votes
1 answer

How to implement defragmantation-like method in file system

I build my own virtual file system in C. Now I want to implement some sort of defragmantation method, where it looks for gaps and closes them. So if file 1 is size 10 and on position X and file 2 is size 20 and on position Z, I want it to get moved…
XCoderX
  • 71
  • 1
  • 9
0
votes
1 answer

Does the linux kernel reuse dentry structs with duplicate mountpoints? If so, how?

So, I can mount sysfs (the virtual filesystem for /sys) for example at multiple places, and I'll see the same contents each time. Similarly, I can mount the same block device (like /dev/sda1) at multiple mount points. I'm writing a VFS for my kernel…
Keeley Hoek
  • 543
  • 4
  • 18
0
votes
1 answer

VFS SFTP upload sending directory structure, not just file

I am attempting to upload a file to an SFTP site, but the entire directory structure is being recreated on the SFTP site instead of just uploading the file at the root. I am calling sendSftp (see below). public void sendSftp(String filename,…
soccerjo
  • 23
  • 4
0
votes
0 answers

WSO2 ESB - From VFS to JMS MessageStore

I gotta to receive a file and send it to a jms message store If I done this using Webservice evrithing work fine but if I try use VFS I recive following exception: [2013-08-21 16:37:45,903] ERROR - VFSTransportListener Error processing File URI :…
ippul
  • 1
  • 1
0
votes
1 answer

Error when try to build the VFSTransport Listener class

I try to modified the VFSTransportListener class in WSO2. But I encountered this error : Multiple markers at this line - Cannot override the final method from AbstractTransportListenerEx - overrides…
Mari_Yaguchi
  • 477
  • 8
  • 25