How To Use Rsync With An FTP Server

Prerequisites: curlftpfs and rsync programs must be installed!
Create a mount point, then mount the remote directory:
1 2 |
mkdir /path/to/mount/ftp/server/on curlftpfs -o user=yourLogin:yourPassword yourServer /path/to/mount |
Now rsync the mounted FTP directory to your local directory:
1 |
rsync -av --progress /path/to/mount/ftp/server/on/ /path/on/local/host/ |
Leave Your Comment
All fields marked with "*" are required.