- working autofs instalation
- fuse
- curlftpfs
- create
/sbin/mount.curl
containing:
#!/bin/bash
curlftpfs $1 $2 -o allow_other,disable_eprt - create
/sbin/umount.curl
containing:
#!/bin/bash
fusermount -u $1 - make both created *.curl files executable
add/mnt/ftp /etc/autofs/auto.ftp --ghost
to/etc/autofs/auto.master
- create
/etc/autofs/auto.ftp
file containing:
myFTP -fstype=curl,allow_other :ftp\://USER\:PASSWORD\@MACHINE/
Et voila!
cd /mnt/ftp/myFTP; ls