On Sat, Mar 05, 2011 at 05:22:32PM -0800, Chris Moore wrote:
> This ends up using Ftp::ConvertFtpDate() in ftpclass.cc, which ignores
> the timezone, instead doing: return mktime_from_utc(&tm);

This is correct. MDTM command must return GMT time. From the
draft-ietf-ftpext-mlst-16.txt:

   Time values are always represented in UTC (GMT), and in the Gregorian
   calendar regardless of what calendar may have been in use at the date
   and time indicated at the location of the server-PI.

So the bug is on the server side.

-- 
   Alexander.

Reply via email to