Results 1 to 8 of 8

Thread: Mount FTP directories to local fs - curlftpfs

  1. #1
    Join Date
    Aug 2010
    Beans
    7

    Mount FTP directories to local fs - curlftpfs

    Hello! I'm looking for a way to mount remote ftp directories to local filesystem in order to interact with them as if were local resources. I found several tutorials that recommend curlftpfs, but this project seems no longer maintained (last update on sourceforge goes back to Apr 2007).

    So, is curlftpfs still the best choice or is there something newer which I could rely on?

    Thanks,
    best regards.

  2. #2
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount FTP directories to local fs - curlftpfs

    Try Places -> Connect to server... Service type: FTP (with login) or Public FTP
    Last edited by lmarmisa; August 28th, 2010 at 10:45 AM.

  3. #3
    Join Date
    Aug 2010
    Beans
    7

    Re: Mount FTP directories to local fs - curlftpfs

    Thank you very much, works like a charm! Any way to do the same via command line?

  4. #4
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount FTP directories to local fs - curlftpfs

    First of all, install the package curlftpfs:

    sudo apt-get install curlftpfs
    Create the mounting point directory. For example:

    mkdir ~/ftpdir
    If you wish to mount the ftp server type this command:

    sudo curlftpfs -o allow_other youruser[:yourpassword]@ftp.site.com ~/ftpdir
    Finally, if you wish to unmount the directory type

    sudo umount ~/ftpdir
    Last edited by lmarmisa; August 28th, 2010 at 11:34 AM.

  5. #5
    Join Date
    Aug 2010
    Beans
    7

    Re: Mount FTP directories to local fs - curlftpfs

    Best support here, thanks again!

    Finally I managed this adding a line to ~/.netrc:

    Code:
    machine ftp.myhosting.com login myusername password mypassword
    and calling curlftpfs with:

    Code:
    sudo curlftpfs -o allow_other ftp.myhosting.com ~/ftpdir
    Another question, will the password pass unencrypted? If so, any way to secure the transmission?

  6. #6
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount FTP directories to local fs - curlftpfs

    Type this command :

    man curlftpfs

  7. #7
    Join Date
    Nov 2008
    Beans
    5

    Re: Mount FTP directories to local fs - curlftpfs

    Does anyone know how to export a curlftpfs-mounted-folder via nfs or cifs?
    I created a folder as a normal user
    Code:
    p2p:users
    .
    I mounted it using the command:
    Code:
    curlftpfs -o allow_other ftp://217.147.232.18/pub/ /media/ftp/
    and then I noticed that the /media/ftp/ folder, become
    Code:
    root:root
    owned.
    Then if I try to export /media/ftp/ I get always [access denied] from the server.

    What am I doing wrong?

  8. #8
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    14,454
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount FTP directories to local fs - curlftpfs

    Old thread closed! Please start a new thread you can link to this one if you need too.
    Thanks

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •