Differences
This shows you the differences between the selected revisions of the page.
faq_timestamp 2005-01-02 | faq_timestamp 2024-05-04 (current) | ||
Line 1: | Line 1: | ||
- | ====== Why is the timestamp of uploaded/downloaded file different from the timestamp of source file? ====== | + | ====== Why is the timestamp of uploaded/downloaded file different from the timestamp of the source file? ====== |
- | There are two possible reasons: | + | There are several possible reasons: |
- | * You have not checked Preserve timestamp transfer option (see [[&screenshotimg(copy)|Transfer options dialog]] or transfer tab of Preferences dialog) | + | * You have not checked //[[ui_transfer_custom#common|Preserve timestamp]]// transfer option. |
- | * WinSCP and the server interpret timestamp differently. | + | · * WinSCP and the server [[timestamp|interpret timestamp differently]]. |
+ | * With [[ftp|FTP protocol]] it is not possible to update timestamp of uploaded file unless the FTP server supports ''MFMT'' extension. | ||
- | If the latter is true there are two options that you can set in WinSCP to try to make it interpret timestamp in the same manner as your server. | + | ~~AD~~ |
- | + | ||
- | ··* Option //Dayling saving time// is useful when timestamp of **some** files if shifted by one hour | + | |
- | * Option //Server timezome offset// (SCP protocol only) is useful when timestamp of **all** files is shifted by the same time span. | + | |
- | * You may need to combine both options in some cases. | + | |
- | + | ||
- | //Dayling saving time// option is located on Environment tab of Login dialog. Some servers (mostly on Windows) adjust file timestamp with start of DST and some not (Unix). The option selects between the two approaches. For backward compatibility, Windows-style approach (server does adjustment) is selected by default, while the Unix-style is probably the correct one. Note that the option must be set correctly before transferring the files. It does not make sense to try to use it to adjust the timestamp of already transfered file. | + | |
- | + | ||
- | If you use SCP protocol, there is the second option for you to try, //Server timezome offset// on SCP tab of Login dialog. It defines difference between the server time zone and the local time zone. For example if the timestamps of remote files are two hours ahead of local files, set the option to -2 hours. | + | |
- | + | ||
- | Once you set your preferences, save them to [[faq_store_session|stored session]]. | + |