Mount FTP

From ArchWiki

Jump to: navigation, search
Image:Tango-view-fullscreen.png This article needs expansion.
Please help expand this article so the intended scope is covered in sufficient detail. (Discuss)

There are several packages available from the community repository or AUR that allow to mount FTP shares and interact with them just as if they were local file systems.

Packages

These are the packages that provide a way to mount FTP shares:

  • curlftpfs [recommended]
  • fuseftp
  • lufs [outdated]

All three packages are based on FUSE library.

Example using curlftpfs to mount a FTP folder

Install curlftpfs (from the community repo)

# pacman -S curlftpfs

If needed, make sure that fuse has been started.

# modprobe fuse

Create the mount point and then mount the FTP folder.

# mkdir /mnt/ftp
# curlftpfs ftp.yourserver.com /mnt/ftp/ -o user=username:password

If you want regular user access, use the following instead:

# curlftpfs ftp.yourserver.com /mnt/ftp/ -o user=username:password,allow_other

Do not add space after the comma or the allow_other argument won't be recognized.

You can add this line to /etc/fstab to mount automatically.

curlftpfs#user:password@my.domain.com /mnt/mydomaincom fuse rw,uid=500,user 0 0
Personal tools