Overview
The MFMT (Modify Fact:Modification Time) command provides the ability to modify the last modification time (GMT) for a file on the server. When specifying the date/time information, it must be in the following format:
YYYYMMDDHHXXSS
Y - four digit year
M - two digit month
D - two digit day of the month
H - two digit hour (0..23)
X - two digit minute (0..59)
S - two digit second (0..59)
Format
MFMT YYYYMMDDHHXXSS <name><crlf> (sets the date/time for the file)
Returns
213 - Command successful.
421 - The server is off-line or is going off-line.
501 - Syntax error in parameters or arguments. This usually results from an invalid or missing file name.
502 - Command not implemented. This will be returned if MDTM support is not enabled on the server.
530 - No user is currently authenticated on the command channel.
553 - File name not allowed, or file type banned.
概觀
MFMT (修改情況:修改時間)命令提供了修改服務器上的文件的最后修改時間(GMT)的能力。在指定的日期/時間信息,它必須是以下格式:
YYYYMMDDHHXXSS
Ÿ -四個數字的年份
M -兩位一個月
ð -兩個月份的數字一天
Ĥ -兩位數小時(0 .. 23)
X -兩位數分鍾(0 .. 59)
S -兩位數的第二個(0 .. 59)
格式
MFMT YYYYMMDDHHXXSS <name>的<CRLF>(設置文件的日期/時間)
返回
213 -命令成功。
421 -服務器脫機或脫線。
501 -在參數中有語法錯誤。這通常會導致無效或丟失的文件名 。
502 -命令未被執行。這將返回MDTM支持在服務器上沒有啟用。
530 -目前沒有用戶身份驗證的命令通道上。
553 -文件名 不允許或禁止的文件類型。