Does IIS5/6 support MDTM command?
To clarify:
The MDTM command is in an Internet-Draft, and has not yet made it into RFC
form.
The operation you are looking for, to set the modification time by the MDTM
command, is not do***ented in an Internet-Draft _or_ an RFC, because it is
potentially unpredictable. You are asking for a feature that is completely
undo***ented, and known to be unreliable even when implemented as you describe.
That may be an issue with his client software - the FTP server in IIS does
not support changing the modification time of files. There are a number of
other ways to achieve this, but not through FTP. One way, for example,
would be to upload a .ZIP file through FTP, and have someone local to the
site unzip the file, preserving the modification time.
Users may just as correctly claim that Serv-U's support of MDTM to change
the modification time could lead to some inconsistencies between behaviour
and intent. Different FTP server authors will make different choices as to
which operations are justifiable, and which cause sufficient concern that
they should not be implemented. Note, for instance, that the Internet-draft
describing MDTM's behaviour was written by the author of an FTP server, and
was reviewed, discussed, edited and approved by the IETF FTP Extensions
Working Group, which consists of authors of FTP implementations - server and
client. Discussion on that group included discussion of this feature, and
it was decided that, since the feature contained possibilities for
inconsistent and unpredictable behaviour, it was not worth do***enting in
the Internet-Draft.
There has been discussion among the FTPEXT WG members as to how best to
provide a feature to set attributes of a file, including the modification
time, and there will possibly be a further Internet-Draft (that will
eventually become an RFC) to describe how this can be done. Until then,
there is no do***ented standard way to alter the modification time of a file
through FTP.
You can even look on this as a security feature, in that you are able to
tell at what time the file was really uploaded through FTP, rather than what
time the user wanted you to think it was uploaded. This feature is also
used by FTP mirroring software to ensure that files are correctly updated
only when necessary.
Alun.
~~~~
|