Hello everyone!
I am the author of
SlimFTPd, a somewhat popular FTP server for Windows with a very small footprint.
SlimFTPd supports setting of file timestamps through use of the MDTM command. This capability, though not presently allowed by the existing RFC, is also supported in many of the other popular FTP servers out there. I know of several FTP clients which take advantage of this capability as well.
However, SmartFTP, my FTP client of choice 8), does not. I would really like to see this option added. It would be a very simple addition. Add a checkbox to the options page TransferFiles in the Post Transfer Action group for "Keep File Time" on Upload.
Here is how this unofficial extension to MDTM works in every case where I have seen it implemented:
MDTM<sp>YYYYMMDDHHMMSS<sp>filename
Just for reference/amusement, here is how the as-of-yet unreleased SlimFTPd 4.0 decides what to do when it sees the MDTM command. Other servers probably do something similar.
- foobar" and the other is named "foobar" and you are trying to set the modification timestamp of the latter to the exact same timestamp as in the former's file name. This would in practice never occur, but if it did, SlimFTPd would follow the RFC spec and return the modified date of the former file rather than altering the modified date of the latter file.
In all other cases, this usage of MDTM is completely acceptable and unambiguous. I would strongly encourage the developers of SmartFTP to add this useful and simple feature.
Thanks for reading and have a great day!