I am setting the UtcMode to True on the sftp component, but regardless of the setting it is returning the LastModified timestamp as local time.
Here's the relevant part of the LastErrorText after the directory listing. The lastModifiedTime32 shown there unpacks to 2013-04-10 16:07:59 GMT. But regardless of the UtcMode setting, SFtpFile.LastModifiedTime returns it as 2013-04-10 12:07:59, which is the localized time.
If I call GetLastModifiedDt().GetAsDateTime(false), it returns the correct time, but the year is wrong as in my earlier post today about the ftp component: the year is "0413" instead of "2013"
Check to see if these new builds solve the problem:
answered Apr 11 '13 at 09:27