Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

This cannot work, unless you also specify a session to open in the command-line.
Anyway, the correct syntax is to use this from open command in the script:
open your_session -rawsettings ConsiderDST=0


https://winscp.net/eng/docs/rawsettings
3K

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
martin

Re: Synchronize downloads all files, cause by DST?

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

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. :)