Question:
(regarding Chilkat FTP2) The lastModTime attributes derived from the GetXmlDirListing method is inconsistent with what’s returned by the GetLastModifiedTimeByName method.
Answer:
The GetXmlDirListing converts an FTP directory listing into XML. However, the GetLastModifiedTimeByName will issue an MDTM command (if supported by the FTP server) to get a more accurate time. FTP directory listings typically leave off the hours/minutes/seconds for older files. It won’t be possible to change GetXmlDirListing because it would require one MDTM round-trip command/response for each file in the directory to get the info, and if the directory is too large it would be very time consuming.