(worked on ubuntu 8.10 but it is very basic and should always work)
install curlftpfs (type in the terminal)
Code:
sudo aptitude install curlftpfs
edit fstab
Code:
sudo gedit /etc/fstab
add the curlftpfs line with your local directory and ftp user and password
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=671919f3-1114-43f1-9fd4-d5b5d4f55969 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=88dd186f-bb66-4b52-834a-f2b8ede16451 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/disk/by-label/DataDisk /media/DataDisk ntfs-3g rw,user,sgid,suid,exec,auto,utf8 0 1
/dev/disk/by-label/XP /media/XP ntfs-3g rw,user,suid,sgid,exec,auto,utf8 0 1
curlftpfs#ftpUsername:ftpPassword@ftp://ftpUrl /localDirectory fuse rw,uid=1000,umask=0777,user,suid,allow_other,exec,auto,utf8 0 1
this is how my fstab is looks like. please search for fstab for further explanation
now runing will mount the ftp
but !!!
it will not happen on start up because the default order of boot
is that first drives are mounted and only then the network is up
then we will do the following thing
Code:
sudo gedit /etc/rc.local
add this just before the "exit 0" line
I know it will remount drives that are already mounted but it does no harm and it is way simpler then changing order of boot
have fun