1、安装CurlFtpFS
Centos安装
yum -y install epel-release
yum -y install curlftpfs
Debian/Ubuntu系统
apt-get install curlftpfs -y
2、挂载FTP
创建挂载目录
mkdir /home/test
挂载ftp,自行修改ftp地址,挂载路径,ftp用户名及密码。
curlftpfs ftp.yourserver.com /home/ftp -o user=username:password
开机自动挂载,
echo "curlftpfs -o codepage=utf8 ftp://fpt账号:ftp密码@127.0.0.1 挂载路径" >> /etc/fstab
3、取消ftp挂载
取消挂载,根据实际情况修改umount后的路径。
umount /home/test
THE END







![[评测-]vmiss怎么样?vmiss美国洛杉矶BGP线路vps评测-美国CN2 GIA-优质线路美国vps-德思博客](https://deslinks.com/wp-content/uploads/2022/09/主页图片-1024x560.png)



暂无评论内容