Topic "Check file size"

Author Message
[View user's profile]

Joined: 2016-03-22
Posts: 1

Possibly a very noob question but I have looked though the command help but can't find an answer.

I am using WinSCP command line with an hourly scheduled task to synchronize remote to our SFTP server.
The remote end has had issues with it's Internet connection and occasionally cutting out during a transfer, this can leave a partial file on the server with a timestamp that matches the remote side. This means that when the task runs again the file will not be copied until the remote side changes again.
Is there a way to tell WinSCP to compare the timestamp and the filesize in order to decide on what to transfer?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24755
Location: Prague, Czechia
Use synchronize -criteria=both ...


You can post new topics in this forum

Search Site

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