Mount Ftp As A Drive
Posted 19 March 2012 - 03:16 PM
Here is the short version of what I did.
Curlftpfs is what you need. I know it is available for Debian based and most other distributions. It is also available for mac but this is beyond the scope of this post.
edit fstab add curlftpfs#ftpUsername:ftpPassword@ftp://ftpUrl /localDirectory fuse rw,uid=1000,umask=0777,user,suid,allow_other,exec,auto,utf8 0 1
This is the login pass where the ftp site located local directory where you want to mount the ftp site on your computer read write userid. I am not sure what the rest means.
mount -a mounts all file systems.
So it will start on reboot.
sudo curlftpfs -o umask=0777,uid=1000,gid=1000,allow_other ftp://username:firstname.lastname@example.org /localdirectory
save mount -a
I think I could set something up with except to do it better.
Any ideas let me know. Thanks MD
Posted 19 March 2012 - 07:51 PM
The only way to improve on this is by using a different protocol, which is always advisable as FTP is a rubbish protocol.
Posted 19 March 2012 - 10:13 PM
Edited by digip, 19 March 2012 - 10:13 PM.
Posted 19 March 2012 - 11:56 PM
Posted 19 March 2012 - 11:59 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users