The VFS implementation that uses the Enterprise Integrator server is based on the Apache Commons VFS implementation deployed in the commons-vfs2_2.0.0.wso2v15.jar library that contains the required resources to work with files.
The use of the VFS transport is disabled in the server by default, so we need to enable it in the <EI_HOME>/conf/axis2/axis2.xml file and restart the server in order to apply the changes. We have two different implementations that we can enable: one for reading the files and the other for writing the files:
- <transportReceiver name="vfs" class="org.apache.synapse.transport.vfs.VFSTransportListener"/>
- <transportSender name="vfs" class="org.apache.synapse.transport.vfs.VFSTransportSender"/>