How to Preserve Timestamps with FileZilla Pro CLI

By the default last modified time of downloaded or uploaded files is set to the date and time of when they were downloaded or uploaded.

If you want to preserve the original file timestamp use the engine.preserve_timestamps setting:

set engine.preserve_timestamps true

For FTP, FTPS and SFTP protocols the timestamp for uploads requires that the server supports the MFMT FTP command.

There are no special requirements for preserving timestamps over SFTP.

Preserving timestamps of downloaded files is supported for all protocols. Preserving timestamps of uploaded files is supported only by the following protocols:

  • Azure File
  • Backblaze B2
  • Box
  • Dropbox
  • Google Drive
  • OneDrive

Tags: ,