For example consider the VFS URL below,
vfs:sftp://kalpa:*****@localhost/myPath/file.xmlThe requirement is to refer to /myPath/file.xml but it will refer /home/kalpa/myPath/file.xml (/home/kalpa) is the user's home directory.
To overcome this issue we can create a mount for the desired directory in the home directory of the user in the FTP file system. Considering the example above, we can create the mount as follows,
mount --bind /myPath /home/kalpa/myPathWith this the VFS URL above will actually refer to /myPath/file.xml.
Add a comment