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:


Bin eben durch Zufall auf die Seite gekommen. Gefaellt mir ziemlich gut.
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
Great tutorial – thanks! I’m going to add a link to it from the original blog post on the Livedrive site.
bookmaker reviews
Thanks for your input and I will use it for my school research that I am doing for this website.