Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: copy only modified remote files

by jeffenstein (Friar)
on Jul 07, 2015 at 14:14 UTC ( #1133549=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1133549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2020-12-06 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (65 votes). Check out past polls.

    Notices?