Mount ftp directory as folder in linux






We often access ftp sites or our own files using ftp protocol. Sometimes we use browser to access the files. But how easier it would be if we can simply access our files using file explorer. It doesn't matter which file explorer. The idea is to mount the ftp folder as  local folder. Let's do it.


For this purpose we need to install curlftpfs package. All you have to do install it.

sudo apt install curlftpfs

That's it.

Now make a directory where you want to mount it.

mkdir ~/ftp

Now to mount it just enter following command

curlftpfs userid:password@ftp_location_with_port ~/ftp -o allow_other

Replace the id,password,ftp location with your own parameters.
Now you can easily access your ftp files in your explorer.

For more details:
https://linuxconfig.org/mount-remote-ftp-directory-host-locally-into-linux-filesystem

Comments