martin wrote:
If I understand what you want to do correctly, this should be the default behaviour, if you are connecting to any unix-like server. So what is the actual problem (what does not work as you describe)?
Okay. I have a directory with two files:
- f7.dat modified 8:00:00 19 July 2010 BST, and
- f11.dat modified 8:00:00 19 November 2010 GMT
So today Windows explorer and WinSCP left pane give modification times for them as 7:00:00 and 8:00:00 (f7.dat and f11.dat respectively).
I upload them, today, to a Unix server, which happens to have local time UTC-07, so I have set Timezone Offset to 7 hours in the Environment settings. I do this 3 times in three different WinSCP sessions, with results as follows:
- When connecting with "Adjust remote timestamp to local conventions" the remote pane gives modifications times 7:00:00 and 9:00:00 respectively
- When connecting with "Adjust remote timestamp with DST" the remote pane gives times 8:00:00 and 10:00:00
- When connecting with "Preserve remote timestamp" the remote pane gives times 7:00:00 and 9:00:00
Whatever the setting, times in the left and right panes do not match.