http://qs321.pair.com?node_id=1133549


in reply to copy only modified remote files

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.