Differences

This shows you the differences between the selected revisions of the page.

2006-04-17 2006-04-17
Windows vs. Unix (martin) windows anchor (martin)
Line 13: Line 13:
Also note that for WinSCP to try to convert file timestamp at all, you need to have transfer option //[[ui_transfer#common_options|Preserve timestamp]]// enabled. Also note that for WinSCP to try to convert file timestamp at all, you need to have transfer option //[[ui_transfer#common_options|Preserve timestamp]]// enabled.
-===== Windows vs. Unix =====+===== [[windows]] Windows vs. Unix =====
For certain reasons NT-class versions of Microsoft Windows (NT, 2000, XP, 2003) shifts timestamps of ALL files by one hour once Daylight Saving Time starts and/or finishes((See article [[http://www.codeproject.com/datetime/dstbugs.asp|Beating the Daylight Savings Time bug]])). For example, for file created on 2005-02-25 14:00, the Windows Explorer will show modification time 2005-02-25 15:00, when DST is in effect. As a Windows application, WinSCP, to be compliant with the Windows Explorer, implements the same timestamp correction. Unfortunately, to allow [[task_synchronize|synchronization]] functions to work, WinSCP has to apply the same correction to timestamps of remote files. As the remote operating system, being typically Unix-style, usually does not perform the Windows NT-style correction, you will see different timestamps in directory listing of WinSCP, than you see in directory listing on the server (for example in ''ls'' listing). For certain reasons NT-class versions of Microsoft Windows (NT, 2000, XP, 2003) shifts timestamps of ALL files by one hour once Daylight Saving Time starts and/or finishes((See article [[http://www.codeproject.com/datetime/dstbugs.asp|Beating the Daylight Savings Time bug]])). For example, for file created on 2005-02-25 14:00, the Windows Explorer will show modification time 2005-02-25 15:00, when DST is in effect. As a Windows application, WinSCP, to be compliant with the Windows Explorer, implements the same timestamp correction. Unfortunately, to allow [[task_synchronize|synchronization]] functions to work, WinSCP has to apply the same correction to timestamps of remote files. As the remote operating system, being typically Unix-style, usually does not perform the Windows NT-style correction, you will see different timestamps in directory listing of WinSCP, than you see in directory listing on the server (for example in ''ls'' listing).

Last modified: by martin