Differences

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

timestamp 2010-07-21 timestamp 2010-07-21
Line 15: Line 15:
===== [[windows]] Windows vs. Unix ===== ===== [[windows]] Windows vs. Unix =====
-For certain reasons certain versions of Microsoft Windows (NT, 2000, XP, 2003 and Vista) 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, Windows applications (like Windows Explorer or WinSCP) will show modification time 2005-02-25 15:00, when DST is in effect. Unfortunately, to allow [[task_synchronize|synchronization]] functions to work, WinSCP has to apply the same correction to timestamps of remote files as Windows apply to timestamps of local files. As the remote operating system, being typically Unix-style, usually does not perform the Windows NT-style correction, you will see by default different timestamps in directory listing of WinSCP, than you see in directory listing on the server (for example in ''ls'' listing). You can change this in [[ui_login_environment#daylight_saving_time|session preferences]], but that will render synchronization non-functional. +For certain reasons certain versions of Microsoft Windows (NT, 2000, XP, 2003 and Vista)((Basically all NT-class versions of Windows until Windows Vista. The timestamp shifting was removed since Window 7.)) 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, Windows applications (like Windows Explorer or WinSCP) will show modification time 2005-02-25 15:00, when DST is in effect. Unfortunately, to allow [[task_synchronize|synchronization]] functions to work, WinSCP has to apply the same correction to timestamps of remote files as Windows apply to timestamps of local files. As the remote operating system, being typically Unix-style, usually does not perform the Windows NT-style correction, you will see by default different timestamps in directory listing of WinSCP, than you see in directory listing on the server (for example in ''ls'' listing). You can change this in [[ui_login_environment#daylight_saving_time|session preferences]], but that will render synchronization non-functional.
===== Synchronization ===== ===== Synchronization =====
If you happen to have the same files locally and remotely with the different timestamps, you can update them without transferring the files again. Use function //Synchronize// in //[[task_synchronize_full#synchronization_mode|Synchronize timestamps]]// mode. If you happen to have the same files locally and remotely with the different timestamps, you can update them without transferring the files again. Use function //Synchronize// in //[[task_synchronize_full#synchronization_mode|Synchronize timestamps]]// mode.

Last modified: by martin