FTP命令---MFMT


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 -文件名 不允许或禁止的文件类型。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM