The Virtual File System (VFS) transport is used by WSO2 Enterprise Integrator(WSO2 EI) 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, the ESB tries to detect the FTP location by navigating from the root folder first. If the ESB does not have at least list permission to the root (/), the file transfer fails.
Enable FTP passive mode. This is required when the FTP client and server are not in the same network.
|true | false||false|
|transport. vfs . Append||If file with same name exists, this parameter tells whether to create a new file and write content or append content to existing file|
true | false
Set data channel protection level using FTP PROT command
|vfs.ssl.keystore||Private key store to use for mutual SSL. Your keystore must be signed by a certificate authority. For more information, see http://docs.oracle.com/cd/E19509-01/820-3503/ggfen/index.html.||String - Path of keystore|
|vfs.ssl.kspassword||Private key store password||String|
|vfs.ssl.keypassword||Private key password||String|
|vfs.ssl.truststore||Trust store to use for FTPS||String - Path of keystore|
|vfs.ssl.tspassword||Trust store password||String|
|transport.vfs.CreateFolder||If the directory does not exists create and write the file||true | false||false|
|transport. vfs.SendFileSynchronously||Whether to send files synchronously to the file host. When this parameter is set to ||true | false||false|