1 安装curlftpfs

[root@db2 ~]# yum install -y curlftpfs

 

2.挂载

[root@db2 ~]# curlftpfs -o codepage=utf-8 ftp://admin:abc123@10.0.0.1  /mnt

3.当挂载路径下已经有这个同名路径时,为了避免冲突,会报如下信息,并且新的文件还挂载不上去。

fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option

 

4.解决办法:只需要添加  -o nonempty 参数即可

[root@db2 ~]# curlftpfs -o codepage=utf8 -o nonempty ftp://admin:abc123@10.0.0.1/1/data /mnt

  

相关文章:

  • 2021-12-30
  • 2021-12-18
  • 2021-06-20
  • 2022-12-23
  • 2021-06-03
  • 2021-05-12
  • 2021-10-09
  • 2021-07-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-10-28
  • 2022-12-23
  • 2021-05-13
相关资源
相似解决方案