Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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
Domain Nodelet?
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 meditating upon the Monastery: (3)
As of 2021-09-20 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?