Linux   Linux – How to mount remote FTP

I was looking for a way to access my Ironport appliance folders remotely so I can execute scripts applied to them.
By installing the curlftpfs package and configuring a fstab entry I have been able to access via a local mount the contents my Ironport offers via FTP

Install the curlftpfs package

This example is for Debian, but the package is also available for other distributions (Centos, RedHat…)

# apt-get install curlftpfs

Add the fstab entry

This is the line I have added:

# cat /etc/fstab

# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1 / ext3    errors=remount-ro 0       1
/dev/sda5 none swap    sw              0       0
/dev/hda /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0 /media/floppy0  auto    rw,user,noauto  0       0
curlftpfs#ftp://admin:mypass@myserver /FTPmountpath     fuse      defaults 0 0

Mount and finally browse your FTP files

Linux - How to mount remote FTP


Leave a Reply

Your email address will not be published. Required fields are marked *