Topic "Change timestamp when syncing"

Author Message
zzgao

Guest


Hi there

Is it possible to change the timestamp of files on the remote server before syncing to 'todays' date when syncing with winscp.com and scripts?

Current script is very simple:

synchronize local "C:\user\C\V P" "/"

When the files are transferred, I want them to have todays date on the local machine
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
That won't be synchronization anymore.

Anyway, you can achieve this using:

get -neweronly -nopreservetime "/*" "C:\user\C\V P\"
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