On 07 Mar 2017 16:14, Josef Moellers wrote:
> When a colleague checked timestamps handling in vsftpd, he found that
> wget is expecting that timestamps received from ftp server have the same
> timezone as the client.
> 
> in src/ftp-ls.c:ftp_parse_unix_ls()
> It reads time of modification from directory listing (.listing) which
> should be in UTC according to
> https://tools.ietf.org/html/rfc3659#section-3.1 and creates timestamp
> using mktime(timestruct) which honors local timezone configuration. This
> breaks timestamps.

i don't see any of timezone (utc or otherwise) in that document.
iiuc, the time stamps are not standardized across OS's or server
implementations, so wget can't take a hard line either: it isn't
possible to always return the right answer.
-mike

Attachment: signature.asc
Description: Digital signature

Reply via email to