Ftp-WG: Potentially unsound use of MDTM

Sergey Ayukov <[email protected]> Thu, 18 Jul 2002 12:07:25 -0500
Newsgroups gmane.ietf.ftpext
Message-ID <[email protected]>
On Sun, 14 Jul 2002, Robert Elz wrote:

> This "feature" of some clients was known back when the MDTM test
> in the mlst draft was being written - that's the point of one of
> the examples showing a space in a file name with the part before
> the space looking very much like a time ...
>
> So, no, you certainly should not be implementing that broken
> behaviour.
>
> On the other hand, creating a new command to do this would certainly
> be possible - no-one so far has been sufficiently motivated to
> do the work.

ncftp/ncftpd allow to modify file dates on server via 'SITE UTIME'
command, and I have followed this approach in NFTP. Syntax looks like
'SITE UTIME filename YYYYMMDDhhmmss YYYYMMDDhhmmss YYYYMMDDhhmmss UTC'
where three times correspond to Unix-like 'access, modification, status
change' times.

-- 
Dr. Sergey Ayukov       | NFTP:   Spell differently. Work faster.
http://www.ayukov.com   |
mailto:[email protected]   | runs on:  BeOS * OS/2 * Unix * Windows