Synchronize downloads all files, cause by DST?

Advertisement

3K
Donor
Joined:
Posts:
32
Location:
Geneva

Synchronize downloads all files, cause by DST?

Hello,

My script below works properly last week but this week, it downloads all the files each time I run it.

- synchronize local c:\mydocs /home/mydocs

I think because of the DST. What will be the script option/command so that it will not download all the files? I've seen synchronize timestamp but couldn't find the right command.

Thank you. :)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Synchronize downloads all files, cause by DST?

Timestamp synchronization is not supported in scripting. You need to do it from GUI.

Reply with quote

3K
Donor
Joined:
Posts:
32
Location:
Geneva

Hello,

Found this command in the forum and it works:

- winscp.com /rawsettings ConsiderDST=0 /script="myScript.txt"

Then, on myScript.txt, the synchronize command works properly.

- synchronize local c:\mydocs /home/mydocs

So, the solution was to add /rawsettings ConsiderDST=0.

FYI. :D

Reply with quote

Advertisement

You can post new topics in this forum