Useful Snippets

Welcome!


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

Are your smart devices spying on you? Make better purchasing choices and find products that respect your privacy at Unwanted.cloud

RSS Latest posts from my personal blog


Most viewed posts


Subscribe to RSS feed


Mount FTP servers on Linux as folder

Stanislav KhromovStanislav Khromov

Mounting FTP server as folders on Linux is easy!

Start out by installing the CurlFtpFS package. On CentOS this is done by:

yum install curlftpfs

(Requires the EPEL repo)

To mount, simply invoke invoke

curlftpfs ftp://user:password@example.com /mnt/ftp_mounted

That’s it!

Source and documentation

Web Developer at Aftonbladet (Schibsted Media Group)
Any opinions on this blog are my own and do not reflect the views of my employer.
LinkedIn
Twitter
WordPress.org Profile
Visit my other blog

Comments 4
  • bassel
    Posted on

    bassel bassel

    Reply Author

    i get this error

    fuse: failed to open /dev/fuse: Operation not permitted


    • Stanislav Khromov
      Posted on

      Stanislav Khromov Stanislav Khromov

      Reply Author

      Either Fuse is not installed, not working, or you are inside a virtualized container that does not support Fuse (iirc OpenVZ does not allow it by default)


      • Urh L
        Posted on

        Urh L Urh L

        Reply Author

        Any solution — I am probably inside OpenVZ — because I have VPS.. ? Thanks


  • Leonardo Cortes
    Posted on

    Leonardo Cortes Leonardo Cortes

    Reply Author

    Doesn’t work, i obtain error connecting to ftp, where can i see the log file? i’m getting furious :D