The Virtual File System (VFS) transport is used by WSO2 ESB to process files in the specified source directory. After processing the files, it moves them to a specified location or deletes them. Note that files cannot remain in the source directory after processing or they will be processed again, so if you need to maintain these files or keep track of which files have been processed, specify the option to move them instead of deleting them after processing. If you want to move files into a database, use the VFS transport and the DBReport mediator (for an example, see Sample 271: File Processing).
Tip: When you transfer a file to a remote FTP location via VFS, WSO2 EI tries to detect the FTP location by navigating from the root folder first. If the EI does not have at least list permission to the root (/), the file transfer fails.
NOTE TO WRITERS: the previous sentences about files not remaining in the source directory is from http://docs.wso2.org/display/FAQ/Transports. If you need to make changes to this content, be sure to make it in the source FAQ as well!