badbass Posted March 19, 2012 Share Posted March 19, 2012 I managed to figure out how to map an Ftp site as a local drive. 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. Edit rc.local So it will start on reboot. sudo curlftpfs -o umask=0777,uid=1000,gid=1000,allow_other ftp://username:password@your.ftpserver.here /localdirectory save mount -a I think I could set something up with except to do it better. Any ideas let me know. Thanks MD Quote Link to comment Share on other sites More sharing options...
Sparda Posted March 20, 2012 Share Posted March 20, 2012 This works ok, but it's really slow, slower then using filezilla or a proper FTP client for doing FTP stuff, but if you need to treat it like a normal file system this works. The only way to improve on this is by using a different protocol, which is always advisable as FTP is a rubbish protocol. Quote Link to comment Share on other sites More sharing options...
digip Posted March 20, 2012 Share Posted March 20, 2012 (edited) SFTP or SCP would be more advisable than standard FTP in any case. Especially since its encrypted and your password info isn't sent in the clear. Edited March 20, 2012 by digip Quote Link to comment Share on other sites More sharing options...
badbass Posted March 20, 2012 Author Share Posted March 20, 2012 I agree with all of you again I am in a migration process. I would still like to learn the options for fuse and what they mear Quote Link to comment Share on other sites More sharing options...
badbass Posted March 20, 2012 Author Share Posted March 20, 2012 forgot if you connect via wifi it needs to be adjusted. Linux in general with a wired nic will connect before processing the local.rc or fstab file. This is why it does not mount right at boot with WIFI Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.