Topic "scripting with timezone offset"

Author Message
indiix2

Guest


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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
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.
_________________
Martin Prikryl
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