![]() ![]() Some FTP servers and most WebDAV servers are affected.Īlso note that for WinSCP to try to convert file timestamp at all, you need to have transfer option Preserve timestamp enabled. This severely restricts synchronization functionality. Some servers do not allow updating remote file timestamp at all. When synchronizing the previously uploaded files, WinSCP will use the remembered timestamp instead of imprecise timestamp provided by the server.Ĭapability of updating remote file timestamp WinSCP remembers timestamps of files uploaded in the session. So changing a files attrtibutes read-only, hidden, system, archive, index, offline, and so forth with SetFileAttributes will update its Last Changed timestamp. 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.įiles changed again shortly after a previous change are not synchronized if the server does not provide timestamps with sufficient precision in a directory listing. Windows NT sets the timestamp even if the thing that is changed is changed from Win32, since (of course) both subsystems are layered over the native API when it comes to files. By using the -a and -m options, you can change only one of these timestamps. 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). ![]() For this reason WinSCP ignores less than 2-seconds time difference with all its synchronization features. This is a limitation of the legacy FAT filesystem. Tools > Deployment > Options > Preserve file timpestamps, disable that setting so that the files being uploaded can have the timestamp changed. SCP and FTP protocols are affected.įile timestamp is always rounded to the next even second. Timestamps of all files are shifted by the same time span. WinSCP requires Windows option Automatically adjust clock for Daylight Saving Time to be enabled. This library provides platform-agnostic inspection of the various timestamps present in the standard fs::Metadata structure. Timestamps of some files are shifted by one hour. There are several factors that affect conversion and interpretation of the timestamps: ![]()
0 Comments
Leave a Reply. |