Rss Feed Tweeter button Facebook button Myspace button Linkedin button Digg button

mounting FTP Filesystem (Host as a Drive) on a local folder on Centos 5.5 with CurlFTPfs

Sometimes it would be useful to mount an external FTP Server as a local drive (a big web space or a service like FileSync.ch). Once u’ve done this, you will be able to treat every file on the external server like a locally saved one. No matter if you want to watch a video or “vim” a text file – you can just do it like if it was on your machine.

CurlFTPfs features:

-SSL support
-HTTP proxies
-Auto-reconnect if connection is lost / server times out.

So first, you need the right tools:

1. Installing FUSE userspace tools

wget http://downloads.sourceforge.net/fuse/fuse-2.7.3.tar.gz?modtime=1203456610&big_mirror=0
tar xvzf fuse-2.7.3.tar.gz
cd fuse-2.7.3
./configure
make
su -c "make install"

FUSE is now installed.

2. Install CurlFTPfs

get your CurlFTPfs RPM here

rpm -ivh fuse-curlftpfs-0.9.1-1.el5.rf.i386.rpm

Now CurlFTPfs is installed.

Get Started – Mount your FTP Host

From now on you are ready to mount any FTP Host in your local filesystem.
Lets have a look at some examples:

my FTP host: ftp.example.com
my Username: username@username
my Password: password
my folder i want to mount the FTP Host on: /home/username/ftpmount/

I “cd” in my home dir and enter the following command:

cd home/username/
mkdir ftpmount
sudo curlftpfs -v -o allow_other -o user="username@username:password" ftp.example.com ftpmount/

This is the Syntax that also works if you have an @-char in your Username (You sometimes have, per example if you want to mount the 5TB Briefcase of livedrive.com).

thats all,

cd ftpmount/
ll

and you will see the mounted directory. Some operations like listings of big FTP Dir’s can take some seconds because CurlFTPfs has to start the connection and make the index of the requested folder.

read the original LiveDrive Blog Post here


2TB Cloudspeicher kostenlos testen:
Livedrive Cloud Storage

6 Responses to “mounting FTP Filesystem (Host as a Drive) on a local folder on Centos 5.5 with CurlFTPfs”

  1. Colin 15. June 2011 at 6:20 pm #

    Bin eben durch Zufall auf die Seite gekommen. Gefaellt mir ziemlich gut.

  2. slick_surfer 16. June 2011 at 11:07 pm #

    Coole Idee, werde ich demnächst probieren. 5TB ******* zu dem Preis..
    CurlFTPFS scheint aber nicht allzu stabil zu laufen, jedoch wäre mit WebDAV sicher möglich, eine stabile Verbindung hinzukriegen.

    ssurfer

  3. Jamie 17. June 2011 at 2:32 pm #

    Great tutorial – thanks! I’m going to add a link to it from the original blog post on the Livedrive site.

  4. online bookmakers 27. June 2011 at 12:16 am #

    bookmaker reviews
    Thanks for your input and I will use it for my school research that I am doing for this website.

Trackbacks/Pingbacks

  1. For Advanced Users: Accessing your Livedrive Pro Suite account from Linux | PC Online Backup Service - 27. June 2011

    [...] their Livedrive Briefcase on the command line using FTP, the TechPros website have put together a tutorial using FUSE and CurlFTPfs. Bookmark on Delicious Digg this post Recommend on Facebook Share on Posterous share via Reddit [...]

  2. For Advanced Users: Accessing your Livedrive Pro Suite account from Linux – The Official Livedrive Blog - 5. July 2011

    [...] their Livedrive Briefcase on the command line using FTP, the TechPros website have put together a tutorial using FUSE and CurlFTPfs.           0 votes Tags: gnome, linux, livedrive briefcase, pro [...]

Leave a Reply

You must be logged in to post a comment.