Topic "Synchronize only larger files"

Author Message



I'm working on creating a backup of some sensitive, large files that are downloaded at somewhat random times. I have two concerns:

1. If I run synchronize while something is being downloaded, I'm afraid I'll get a partial version. But this won't be a problem if I run synchronize a second time.

2. But, I don't want my local copies to be changed, even if the remote copies are changed.

For example, if a malevolent script alters all the large, important files to be 10 kilobytes of gibberish, then synchronizing my backup would in essence delete my backup.

It seems like the best solution with the minimal amount of hand-checking would be if synchronize (or some other script) only synchronizes a file if the remote version is larger than the local version.

Do you know of any scripts or techniques that would accomplish this?

Thank you.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27105
Location: Prague, Czechia
I do not think you can do that with WinSCP.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License