Ubuntu下挂载FTP到本地

1.安装curlftpfs

sudo apt-get install curlftpfs

2.新建要挂载的位置

sudo mkdir /mnt/ftp -p
sudo chown -R username:groupname /mnt/ftp

3.挂载

curlftpfs xxx.xxx.xxx.xxx /mnt/ftp -o user=username:password
# 乱码就这样:
curlftpfs xxx.xxx.xxx.xxx /mnt/ftp -o user=username:password -o codepage=gbk

4.卸载

fusermount -u /mnt/ftp

5.开机挂载

打开软件Startup Applications Preferences
添加


将3命令粘贴进去添加

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容