Compdigitec Labs

« | Home | »

Mount a FTP share in Ubuntu as a folder

By admin | December 7, 2008

There are several GUI interfaces for FTP on Linux, such as gFTP and FileZilla. But what if you need to use the powerful Linux command lines on an FTP share? This article will help you mount a FTP share as a folder so you can use your regular Linux tools (grep,nano,mv,rm,ls,etc.) on a FTP share. This can be accomplished using cURLFTPfs.

  1. If you don’t already have curlftpfs installed, install it with sudo apt-get install curlftpfs.
  2. Replacing the appropriate settings, mount the share with sudo curlftpfs -o umask=0777,uid=1000,gid=1000,allow_other ftp://username:password@your.ftpserver.here /media/ftpmountedhere. Make sure that the location to mount to is already created and readable and writable by all users.
  3. To make this permanent, add it to the end of /etc/init.d/rc.local to be able to access the share after reboot.

If you found this article useful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more interesting articles!

Topics: Linux | 2 Comments »

2 Responses to “Mount a FTP share in Ubuntu as a folder”

  1. Arley Says:
    July 2nd, 2009 at 2:40 am

    This tool is great~!
    Thanks.

  2. pradeep Says:
    October 15th, 2009 at 8:15 am

    Really this works …….. Great one

Comments