Re: Problem with Daylight saving time

1) What DST setting are you using in the GUI?
2) Please post a screenshot of GUI with some test directory as evidence of correct timestamps
3) Run
winscp.com /xmllog=log.xml /command "open <your session>" "ls <test path>" exit
4) Post log.xml
Thanks

osram

Problem with Daylight saving time

2012-04-18 18:06

I've been using the .Net assembly (5.0.6 beta) and powershell to write a simple download script.
The script logs in, traverses the directory tree and downloads all files that have been modified since last time.
It connect to a SFTP-server running on centos. When I use the WinSCP gui to connect, all timestamps are reported correctly (using "adjust remote timestamp to local conventions").

I've tested to set ConsiderDST to both 0 and 1 and using it with and without the preserve flag. Setting it to 0 makes the time shift 2hours back in time and setting it to 1 makes the shift 1hour.
My connection code is straight forward.

Whatever I do the times are haunting me and I'm starting to feel that there might be some kind of bug in play as I can connect to the server just fine using the WinSCP GUI client but not with the .Net assembly.