scripting with timezone offset

Advertisement

indiix2
Guest

scripting with timezone offset

Is it possible to pass a timezone offset using winscp in batch moe w/o calling a session? Or to use the preserver or "set" the timezone of the remote file to match the originating server after the fact?

My problem is that i synchronize 100s of thousands of files between 2 servers daily. Since 85% of the files don't change, it only grabs the new files. The problem is that any files that are "updated" at 11pm on any day are reported by winscp locally on the destination server as the next day, so they appear to be an entire day off. These files will always synchronize and copy during a "criteria=both" or "criteria=date". I'm trying to find a way to get them not to synchronize just for 1 hour offset. So i was thinking i could use timezone offset -1 to try and get the locals to seem like the same as the originating server. However i cannot seem to find an "option" or cmdline way to set the timezone offset to "-1". Is this even available?

Both servers have DST turned on and both are set to update to time.windows.com and are both exactly the same OS and have the same time.

Ideas?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: scripting with timezone offset

Please read FAQ. If that does not help, come back.

Anyway, can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

Advertisement

You can post new topics in this forum