Differences

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

2014-09-11 2015-12-20
in-page anchored links without page name (martin) 5.8 Bug 94 Optionally preserve timestamps of directories with SFTP protocol. (martin)
Line 45: Line 45:
==== Common Options ==== ==== Common Options ====
-The //Preserve timestamp// checkbox makes WinSCP preserve the last modification timestamp of the transferred file. Note that there are several [[timestamp|factors that can affect timestamp recalculation]] between local and remote filesystem. +The //Preserve timestamp// checkbox makes WinSCP preserve the last modification timestamp of the transferred file. Note that there are several [[timestamp|factors that can affect timestamp recalculation]] between local and remote filesystem. Check the suboption //Including directories// to preserve the last modification timestamp of the transferred directories too (This option is supported with [[SFTP]] protocol only. &beta_feature)
Note that while you may have rights to overwrite the remote file, you may not have rights to change its timestamp. See //[[#upload_options|Ignore permissions errors]]//. With FTP protocol, preserving timestamp of uploaded files may not be supported with old FTP servers.((Server needs to support ''MFMT'' command.)) The option is also disabled when configuring transfer settings for [[task_synchronize_full|synchronization]], as preserving timestamps is mandatory then.((Unless comparison criteria //[[ui_synchronize#criteria|Modification time]]// is turned off.)) Most WebDAV servers do not support preserving timestamps, but as the capability is not detectable, the option is available always and when enabled, WinSCP tries to preserve the timestamp and silently continues when the server fails. Note that while you may have rights to overwrite the remote file, you may not have rights to change its timestamp. See //[[#upload_options|Ignore permissions errors]]//. With FTP protocol, preserving timestamp of uploaded files may not be supported with old FTP servers.((Server needs to support ''MFMT'' command.)) The option is also disabled when configuring transfer settings for [[task_synchronize_full|synchronization]], as preserving timestamps is mandatory then.((Unless comparison criteria //[[ui_synchronize#criteria|Modification time]]// is turned off.)) Most WebDAV servers do not support preserving timestamps, but as the capability is not detectable, the option is available always and when enabled, WinSCP tries to preserve the timestamp and silently continues when the server fails.

Last modified: by martin