Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
ftp is a very old but still commonly used file transfer protocol. There exist various tools on the commandline and even GUIs which allow to transfer files easily. On Linux it's even much more easy: You can mount the file system managed by a ftp server as a normal Linux disk. Now you can access the the files with all commonly available tools on Linux to handle disks and you don't need any special ftp tools any more. The following page describes how to configure a ftp server as disk.

The toll is called curlftpfs. If you installed it with

sudo apt-get install curlftpfs 
there are 2 things left to configure:
1) Entry in /etc/fstab
2) Configuration of access credentials
Your entry in /etc/fstab should look like:
(Assumtions: ftp server is on and will be mounted locally on /remote/myDomain)      /remote/myDomain   fuse noauto,uid=1000,gid=1000,umask=0022,allow_other 0 0
Access credentials should be written in file /root/.netrc (Note the leading dot!). Yust enter following data:
(Assumption:  ftp server is on erreichbar, ftp userid is ftpUser and password is secret)
login ftpUser
password geheim
Finally create as root /remote/myDomain and that's it.
You can secure the ftp access also with TLS. For details see here.
Add comment

*** Note ***

Comments are welcome. But in order to reject spam posts please consider following rules:
  1. Comments with string http are rejected with message You have no rights to use this tag
  2. All comments are reviewed by hand and thus it usually takes one day until a comment will be published.