more useful options | |
PerlMonks |
Re: copy only modified remote filesby jeffenstein (Hermit) |
on Jul 07, 2015 at 14:14 UTC ( [id://1133549]=note: print w/replies, xml ) | Need Help?? |
Do you have full shell access to the remote server? If so, maybe consider using rsync to synchronize the changed files. It has options to use the mtime or use checksums. If you don't have full shell access, then Net::SFTP is an option. However, the SFTP protocol won't let you do remote checksums, so you are limited to only using the mtime of the remote file.
In Section
Seekers of Perl Wisdom
|
|