DataLife Engine / How to mount a ftp host as a local directory in Linux

How to mount a ftp host as a local directory in Linux

How to mount a ftp host as a local directory in Linux

In this tutorial we will mount a ftp host as a local directory. For this we need a tool curlftpfs.

You can install curlftpfs with next commands:

Ubuntu / Debian
apt install curlftpfs -y

RHEL
dnf install curlftpfs -y

Edit fstab for automount connection after reboot:
curlftpfs#user:pass@ftp_host /mnt/ftp_storage fuse rw,uid=500,user,auto 0 0

Apply settings:
mount -a
9-04-2023, 17:15
Вернуться назад