Home > Uncategorized > Howto: Mount a ftp drive in Ubuntu

Howto: Mount a ftp drive in Ubuntu

When working with websites, you often need to move files to-and-fro a ftp server. This is usually done using a dedicated ftp application such as gftp. In this long run, this is a very time consuming process so why not just mount the ftp drive as a directory in your home folder?

The first thing we need to do is to get the package curlftpfs

sudo apt-get install curlftpfs

To mount the content of your ftp server at ftp.yourdomain.com in the directory ~/ftpfolder/ simply issue the command

curlftpfs user:pass@ftp.yourdomain.com ~/ftpfolder/

Unmounting is done in the usual way

sudo umount ~/ftpfolder/
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
Categories: Uncategorized Tags:
  1. June 9th, 2009 at 22:27 | #1

    Nice – Issuing FTP commands by hand has always sucked. I normally use ncftp but this seems easier. How about autofs – I haven’t googled it yet but there must be a autofs implementation?

  2. admin
    June 11th, 2009 at 15:30 | #2

    Maybe – I am not sure.

  3. October 18th, 2009 at 09:10 | #3

    Very nice template. I like the theme. You are a great designer.

  4. December 1st, 2009 at 06:12 | #4

    C’est trop gentil, quand il s’agit de l’Inde espérons qu’il pourra faire une place à bascule pour gamin .. l’espérance qui viennent vrai.

  5. December 30th, 2009 at 22:20 | #5

    Hi there, I found your blog via Google while searching for your sites exact keyword. You are doing really well on Google SERPS ;)

  6. February 4th, 2010 at 11:08 | #6

    I Will have to come back again when my course load lets up – however I am taking your RSS feed so I can read your site offline. Thanks.

  7. February 24th, 2010 at 21:54 | #7

    Hope you love em’ As much as I do!

  8. November 28th, 2010 at 02:59 | #8

    Great blog post, however only some of the points were actually treated really good, I think digging deep for the topic to make it more informative will really help, will be looking forward for more information

  9. g
    December 2nd, 2010 at 11:22 | #9

    hey!
    I did it also! great thanks man! Now I can mount the ftp directory to my local linux.
    But but but…. wait!

    Everytime i do some copying into that local (mounted folder)…
    It said “cp Closing Input/Output Error….”

    huh?? Does anyone leave curlftpfs because of this error message as well?

  10. admin
    January 15th, 2011 at 20:20 | #10

    @g
    I used to get this error message as well, but the version I am using at the moment (0.6.1 on a debian-based system) have not caused problems.

  11. January 17th, 2011 at 22:58 | #11

    I’d have to comply with you here. Which is not something I typically do! I really like reading a post that will make people think. Also, thanks for allowing me to speak my mind!

  12. some_poor_idiot
    March 3rd, 2011 at 06:07 | #12

    need to share this. I created folder x and tried to mount an embedded device’s ftp server to that folder in order to speed up development debugging cycles.
    This resulted in an “access denied” error of some sort. I thought maybe I should create that folder elsewhere and deleted it with rm x -r. Well, evidently despite the error, the mounting DID work and x was in fact mounted as root to the target’s filesystem, this command wiped the target clean, lol.

  13. May 7th, 2011 at 10:57 | #13

    Arkadaşlar Evden Eve Nakliyat siteleri sizlerle paylaşıyorum umarım beğenirsiniz. Bu Evden Eve Taşımacılık siteleri İstanbul ve Türkiye genelinde evinizi şehir içi şehirlerarası ve uluslararası evdeki eşyalarınızı ucuz nakliyat fiyatları taşıyor. Gerçekten çok kaliteli evden eve taşınma hizmeti sunmakta tavsiye ediyorum!

  14. July 3rd, 2011 at 07:18 | #14

    Ön sevişmede oral seks kullanılır mı? Sikiş teknikleri için Sitemiz ziyaret edin!

  15. October 8th, 2011 at 03:07 | #15

    hi website owner, your blog’s concept is simple and clean and loving it. Your discussions are nice. Remember to continue this great work. Greets.

  16. Outcast
    October 15th, 2011 at 13:06 | #16

    Great tutorial! This works for auditioning music files over FTP. For example, if you have a SHOUTcast radio station and use Centova Cast auto dj, it’s hard to listen to the files on your server when making playlists. But if you mount the server as a local folder, those mp3′s will then look like local files to music players, so you can play them in VLC or Audacious, etc. Of course, FTP isn’t built for streaming so you’ll get some stuttering, but it still works for quick-and-dirty auditioning of MP3′s on a remote FTP server. Cool!

  17. November 19th, 2011 at 22:42 | #17

    Thank you for these informatşons. Good luck

  18. December 30th, 2011 at 22:59 | #18

    Temanız çok güzel ve sadece.İçeriklerinizde gayet başarılı.

  19. Dennis
    February 1st, 2012 at 15:24 | #19

    How to do all this without using terminal and commands all the time?
    Just start up with UBUNTU or a programme like http://www.netdrive.net, just instead for UBUNTU 11.10 ?

  1. May 26th, 2010 at 11:59 | #1
  2. July 21st, 2011 at 20:33 | #2