FTP-mount to directory
دوشنبه, ۲۰ اسفند ۱۳۹۷، ۰۹:۰۱ ق.ظ
- yum install curlftpfs [# if error: yum install fuse ]
- $ftphost = [FTP host]
- $mount = [Mounted to folder]
- $user = [FTP username]
- $pass = [FTP password]
- curlftpfs $ftphost $mount -o user=$user:$pass,allow_other [# Mount the CurlFtpFS]
- fusermount -u $mount [# Unmount the CurlFtpFS]