|Subject:||MDTM problem with Indy 10 and IIS 5|
|Posted by:||Michael J. Leaver (firstname.lastname@example.org)|
|Date:||Fri, 11 Feb 2005|
Hi, using latest Indy 10 I've noticed that sometimes Indy is sending a
badly formatted MDTM command to set the remote files last modification
date & time. For example, on IIS 5 when you connect it has the following
CLNT<EOL> MDTM<EOL> MDTM YYYYMMDDHHMMSS[+-TZ];filename<EOL> SIZE<EOL>
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG<EOL> REST STREAM<EOL> XCRC
But sometimes Indy is sending the following:
MDTM 20050210045003.890 test.txt
550 /c:/20050210045003.890 test.txt: No such file or directory.
It seems to be adding on the milli-seconds part. I guess if I strip off
the milli-seconds part of the time then it won't do this?