Differences
This shows you the differences between the selected revisions of the page.
2013-12-29 | 2014-05-23 | ||
comment about setting utf8 to off (martin) | when to use timezone offset with ftp (martin) | ||
Line 37: | Line 37: | ||
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. 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. | + | 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, you should use this only when the server does not support ''MLSD'' command or its implementation if buggy. |
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. |