Working with the FTP as a local folder using CurlFtpFS

CurlFtpFS is a tool to mount remote FTP storage to your local file system. After mounting we can operate with the data on the server as local, and all routine operations of the exchange files via FTP for us to do utility.

First you need to install the utility.

Debian/Ubuntu:

apt-get install curlftpfs

CentOS:

yum install curlftpfs

Create a directory which will mount the FTP storage:

mkdir /ftpmnt

For using the utility mounted to the directory ftpmnt remote repository.

curlftpfs ftp://{user ftp}:{pass ftp}@{adress ftp} /ftpmnt {options}

After working with a remote repository unmount directory

umount /ftpmnt