This is an old revision of the document!

Timestamps

Particularly when you want to use some of the synchronization features, first make sure that WinSCP will be able to convert timestamps from local conventions to remote server conventions and vice versa.

Advertisement

Conversion

There are several factors that affect conversion and interpretation of the timestamps:

Factor Symptom
Daylight saving time (DST) Timestamps of some files are shifted by one hour.
Server timezone offset Timestamps of all files are shifted by the same time span. Only SCP protocol is affected.
Local file system is FAT File timestamp is always rounded to the next even second. This is property of old FAT filesystem. For the reason WinSCP ignores 1-second time difference with all its synchronization features. Note that FAT is used rarely nowadays, mostly with removable medias only.
Timestamp precision Files changed shortly after previous synchronization are not synchronized. Only SCP protocol is affected.

Also note that for WinSCP to try to convert file timestamp at all, you need to have transfer option Preserve timestamp enabled.

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 with option Synchronize timestamps only, not files.

Last modified: by martin