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.

Josef

Reply via email to