Hi,

 

We are facing a weird issue with Coreftp clients. It seems coreftp (mis)uses
MDTM to set the last modified timestamp of a file and apparently there are
some ftp servers that encourage this behavior.

 

Has anybody faced this issue? How can we handle it in Apache FTP Server.

 

Here is note I found explaining this anomaly

 

http://www.omz13.com/downloads/draft-somers-ftp-mfxx-04.html#MFMT

 

"""

The FTP command, MODIFY FACT: MODIFICATION TIME (MFMT), is used to modify
the last modification time of an object in the NVFS. 

The ability to modify the last modification time MAY also be achieved, if
supported by the server-PI, by using the "Modify" fact to the MFF command as
detailed in Section
<http://www.omz13.com/downloads/draft-somers-ftp-mfxx-04.html#MFF>  5
(Modify Fact: Facts (MFF)). 

It should be noted that similar functionality has been implemented by some
server-PIs as the command MDTM. However, the use of MDTM to modify the last
modification time of an object conflicts with the use of the MDTM command to
retrieve the last modification time of an object as defined in [2]
<http://www.omz13.com/downloads/draft-somers-ftp-mfxx-04.html#RFC3659>
(Hethmon, P., "Extensions to FTP," March 2007.). It is RECOMMENDED that, if
possible, client-PIs use the MFMT command instead of abusing the MDTM
command to change the modification time of an object in the NVFS. 
"""

Thanks

Sachin

 

Reply via email to