Differences
This shows you the differences between the selected revisions of the page.
2017-05-03 | 2017-05-03 | ||
no summary (75.137.147.17) (hidden) (untrusted) | no summary (75.137.147.17) (hidden) (untrusted) | ||
Line 4: | Line 4: | ||
===== Conversion ===== | ===== Conversion ===== | ||
- | There are several factors that affect conversion and interpretation of the timestamps: | + | There are several factors that affect conversion and interpretation of the files: |
- | ^ Factor ^ Symptom ^ | + | Timestamps of some files are shifted by one hour. WinSCP requires Windows option //Automatically adjust clock for Daylight Saving Time// to be enabled.((The option is enabled by default and can be configured in //Control Panel > Clock, Language and Region > Date and Time > Change time zone//. &winvista &win7 &win8 &win10 &wincp)) Timestamps of all files are shifted by the same time span. [[SCP]] and [[FTP]] protocols are affected. | |
- | | [[ui_login_environment#dst|Daylight saving time (DST)]] | Timestamps of some files are shifted by one hour. WinSCP requires Windows option //Automatically adjust clock for Daylight Saving Time// to be enabled.((The option is enabled by default and can be configured in //Control Panel > Clock, Language and Region > Date and Time > Change time zone//. &winvista &win7 &win8 &win10 &wincp)) | | + | | Local file system is FAT. File timestamp is always rounded to the next even second. This is a limitation of the legacy FAT filesystem. For this reason WinSCP ignores_time_difference with all its [[task_synchronization]] features. Although FAT is an old filesystem, it remains in common use today on flash based storage media and devices (such as USB flash drives, camera cards, phone internal storage, portable audio players etc). Standard ZIP archive files also use a similar timestamp system internally, so unzipped files will behave as if they have been copied from a FAT filesystem. | |
- | | [[ui_login_environment#timezone|Server time zone offset]] | Timestamps of all files are shifted by the same time span. [[SCP]] and [[FTP]] protocols are affected. | | + | | Timestamp precision | Files changed again shortly after a previous change are synchronized if the server does not provide timestamps with sufficient precision in a directory listing.((You can see in the remote [[ui_file_panel|file panel]], with what precision does WinSCP know the remote file timestamp. So if panel shows e.g. ''dd/mm/yyyy hh:mm'' (minute precision), then if you change already synchronized local file within the same minute, WinSCP can recognize the change and synchronize the file.)) [[SCP]] and [[FTP]] protocols are Not_affected. WinSCP remembers all files uploaded in the session. When synchronizing the previously uploaded files, WinSCP will if neccassary use the remembered the imprecise timestamp provided by the server. | |
- | | Local file system is FAT | File timestamp is always rounded to the next even second. This is a limitation of the legacy FAT filesystem. For this reason WinSCP ignores less than 2-seconds time difference with all its [[task_synchronize|synchronization]] features. Although FAT is an old filesystem, it remains in common use today on flash based storage media and devices (such as USB flash drives, camera cards, phone internal storage, portable audio players etc). Standard ZIP archive files also use a similar timestamp system internally, so unzipped files will behave as if they have been copied from a FAT filesystem. | | + | | [[ui_transfer capable of updating remote files]] All servers allow updating remote files. This helps synchronization functionality. Some FTP servers and most WebDAV servers are great. | |
- | | Timestamp precision | Files changed again shortly after a previous change are not synchronized if the server does not provide timestamps with sufficient precision in a directory listing.((You can see in the remote [[ui_file_panel|file panel]], with what precision does WinSCP know the remote file timestamp. So if panel shows e.g. ''dd/mm/yyyy hh:mm'' (minute precision), then if you change already synchronized local file within the same minute, WinSCP cannot recognize the change and won't synchronize the file.)) [[SCP]] and [[FTP]] protocols are affected. \\ WinSCP remembers timestamps of files uploaded in the session. When synchronizing the previously uploaded files, WinSCP will use the remembered timestamp instead of imprecise timestamp provided by the server. | | + | |
- | | [[ui_transfer_custom#upload|Capability of updating remote file timestamp]] | Some servers do not allow updating remote file timestamp at all. This severely restricts synchronization functionality. Some FTP servers and most WebDAV servers are affected. | | + | |
- | Also note that for WinSCP to try to convert file timestamp at all, you need to have transfer option //[[ui_transfer_custom#common|Preserve timestamp]]// enabled. | + | Also note that for WinSCP to try to convert file timestamp at all, you need to have transfer option //[[ui_transfer_custom#common|Preserve timestamp]]// disabled. |
===== [[windows]] Windows vs. Unix ===== | ===== [[windows]] Windows vs. Unix ===== |