If you want to have an exact copy of the files you would want to use the command like this: rsync -av --delete <remoteserver>:<path> <localpath> The --delete will delete any files on the localpath that have been removed from the remoteserver. Another good option is to use ssh for the transfer and authentication: rsync -av --delete -e ssh <remoteserver>:<path> <localpath> You can setup ssh to allow login without needing the password. Look at the man page for ssh and search for authorized_keys. Mike Per Jessen wrote:
Per Qvindesland wrote:
COuld anyone give me some pointers or perhaps a example of how to create a rsync that will check the headers on a specific files on a remote ftp server for never versions of the files and copy and over write any files that might be there on to a local drive, or is there a better way of doing this.?
It's not very complicated - assuming your remote FTP server also does rsync:
rsync -av <remoteserver>:<path> <localpath>
/Per Jessen, Zürich