Mount a FTP map in the linux filesystem tree.
first in a terminal:
Code:
sudo apt-get install curlftpfs
sudo mkdir /media/provider
Add this line in /etc/fstab
Code:
curlftpfs#username:password@ftp.provider.com/PUBLIC /media/provider fuse rw,allow_other,noauto,user 0 0
where username is your login name at your providers ftp site
password is your password
@fpt.provider.com/ is the ftp server of toyr provider
PUBLIC is the map in your ftp account to use.
/media/provider is the map you created earlier. Here you'll mount your ftp site.
And reboot of type in a terminal (sudo mount -a)
than when you want to mount the ftp site type in a terminal:
Code:
sudo mount /media/provider
Note that the speed of FTP is very slow compared with normal hard disk usage. About 500 k per second on a drive on your own router.
It is possible to use for an network harddisk, but if smbfs is available, that's better to use. That's explained here.
Additional information is found here.



8 comments:
Thank yot very much!
Thank you so much for this! I didn't place my local folder in /media/provider however. Placing it there caused me to use sudo when wanting to change any files in there. Using this folder from IDE wasn't feasible. I moved it to /home/myUsername/mount/nameOfConnection.
If you have several users on the same computer and you need to keep the password safe from them you can use .netrc (google it).
If you don't use .netrc then any other user can do 'df -h' or 'cat /etc/fstab' in a terminal and they'll see your password
I get the following error md command not found ??
Strange, it works on my system. You're using Ubuntu terminal?
"sudo apt-get curlftpfs" doesnt work
but "sudo apt-get install curlftpfs" does
"sudo md" does not work, "sudo mkdir" does
changed it, Thanx
Post a Comment