Topic "Synchronizing last file only"

Author Message
Guest




Hi everyone,

we're using the "synchronize local" command to be able to sync a server with a local directory.

Does anybody have an idea how to sync the last modified file only instead of syncing the whole directory.

I can't figure out how to do it with the time stamp nor do I come up with another solution.



Thanks a lot

Felix
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
There's no option to synchronize last file only automatically.
You can retrieve the last file from listing using some script or using WinSCP .NET assembly, compare the timestamps and do the synchronization manually.
https://winscp.net/eng/docs/library

Or you can select "recent" file(s) using time file mask constraint:
https://winscp.net/eng/docs/file_mask#size_time
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License