curlftps挂载ftp至本地目录

安装

在线安装

1
2
yum install -y epel-release
yum install -y curlftpfs

离线安装

1
2
3
4
5
6
# 提前准备RPM包
wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/c/curlftpfs-0.9.2-14.el7.x86_64.rpm
# 通过yum安装RPM包
yum localinstall -y curlftpfs-0.9.2-14.el7.x86_64.rpm
# 挂载
curlftpfs -o codepage=utf8 ftp://username:[email protected] /mnt

取消挂载

1
umount /mnt
updatedupdated2024-10-282024-10-28