Differences
This shows you the differences between the selected revisions of the page.
2013-04-28 | 2013-05-09 | ||
no summary (Petr) | Not allowing Timezone offset session setting with FTP protocol, while MLSD listing command is used (martin) | ||
Line 35: | Line 35: | ||
With [[scp|SCP protocol]] the option is used to counterweight time difference between [[timestamp|timestamp]] of remote file shown in directory listing and timestamp set on downloaded file, and vice versa. The difference is caused by fact that during transfer ''scp'' command usually uses UTC time format, while ''ls'' command may display time in local (for server) time format. The time difference can be negative. For example if the timestamps of remote files are two hours ahead of local files, set the option to -2 hours. Read about other issues with [[timestamp|timestamps]]. | With [[scp|SCP protocol]] the option is used to counterweight time difference between [[timestamp|timestamp]] of remote file shown in directory listing and timestamp set on downloaded file, and vice versa. The difference is caused by fact that during transfer ''scp'' command usually uses UTC time format, while ''ls'' command may display time in local (for server) time format. The time difference can be negative. For example if the timestamps of remote files are two hours ahead of local files, set the option to -2 hours. Read about other issues with [[timestamp|timestamps]]. | ||
- | With [[ftp|FTP protocol]] the option is used to actually set the difference between local and remote timezone. | + | With [[ftp|FTP protocol]] the option is used to actually set the difference between local and remote timezone. Though it is used, when deprecated ''LIST'' command is used for directory listing, only. When using ''MLSD'', the server must report all timestamps in UTC. To enable the option with FTP protocol, you need to opt to use ''LIST'' command explicitly by setting //[[ui_login_ftp|Use MLSD command for directory listing]]// to //Off//. Though this is not recommended. |
The option is not available with [[sftp|SFTP protocol]], as with it, the server must report all timestamps in UTC. | The option is not available with [[sftp|SFTP protocol]], as with it, the server must report all timestamps in UTC. |