Ftp-WG: mdtm and mlsd commands

Jeffrey Altman <[email protected]> Wed, 4 Feb 2004 11:10:48
Newsgroups gmane.ietf.ftpext
Organization No Longer Affiliated with Columbia University in the City of New York
Message-ID <[email protected]>
This is a cryptographically signed message in MIME format.

--------------ms020102000203080303030908
Content-Type: multipart/alternative;
 boundary="------------010301090004090907030601"

This is a multi-part message in MIME format.
--------------010301090004090907030601
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

A command that has the functionality of MDTM-modify could certainly be 
created
However, it won't be MDTM-modify.  As already described, MDTM-modify won't
work with files that have spaces in their names.  This is fatal.

Jeffrey Altman


Robert Oslin wrote:

>
>Wolfgang Zekoll wrote:
>
>>But I have a question to the real FTP protocol gurus: Is there a
>>recommended way to tell a client that a server does not support
>>MDTM-modify but MDTM-query?
>>
>
>>>I'm not a real FTP protocol guru, but my opinion is: Why should a server
>>>tell the client that it conforms to the relevant RFCs? MDTM-modify
>>>doesn't conform with the upcoming RFC. When the client wants to use
>>>MDTM-modify, than it has to check whether the server supports this
>>>non-standard MDTM command (for example: transfer file; MDTM-query;
>>>MDTM-modify; MDTM-query; check, whether the MDTM-query results differ).
>>>Ciao,
>>>Richard
>>>--
>>>Dr. Richard W. Könning
>>>Fujitsu Siemens Computers GmbH
>>>
>
>We added support for MDTM-modify in CuteFTP Pro v3 due to popular demand. We
>simply issue a FEAT command and if MDTM is supported and if the user has
>opted to retain the current timestamp of an uploaded file, we simply attempt
>the MDTM-modify sequence. If it fails we notify the user via the log. More
>and more servers are adding support for both MDTM-query and MDTM-modify. It
>would be nice if MDTM-modify could be formalized in an upcoming RFC or
>draft, as the market wants it and it is very helpful for folder
>synchronization, overwrite comparison and other such tasks.
>
>Robert T. Oslin III
>Product Manager
>GlobalSCAPE Texas, LP.
>
>
>
>
>
>

--------------010301090004090907030601
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Bitstream Cyberbit">A command that has the functionality of
MDTM-modify could certainly be created<br>
However, it won't be MDTM-modify.&nbsp; As already described, MDTM-modify
won't<br>
work with files that have spaces in their names.&nbsp; This is fatal.<br>
<br>
Jeffrey Altman<br>
<br>
<br>
Robert Oslin wrote:<br>
</font>
<blockquote
 cite="[email protected]"
 type="cite">
  <pre wrap=""><font face="Bitstream Cyberbit">
Wolfgang Zekoll wrote:
</font></pre>
  <blockquote type="cite">
    <pre wrap=""><font face="Bitstream Cyberbit">But I have a question to the real FTP protocol gurus: Is there a
recommended way to tell a client that a server does not support
MDTM-modify but MDTM-query?
</font></pre>
  </blockquote>
  <pre wrap=""><!----><font face="Bitstream Cyberbit">
</font></pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap=""><font face="Bitstream Cyberbit">I'm not a real FTP protocol guru, but my opinion is: Why should a server
tell the client that it conforms to the relevant RFCs? MDTM-modify
doesn't conform with the upcoming RFC. When the client wants to use
MDTM-modify, than it has to check whether the server supports this
non-standard MDTM command (for example: transfer file; MDTM-query;
MDTM-modify; MDTM-query; check, whether the MDTM-query results differ).
Ciao,
Richard
--
Dr. Richard W. K&ouml;nning
Fujitsu Siemens Computers GmbH
</font></pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!----><font face="Bitstream Cyberbit">
We added support for MDTM-modify in CuteFTP Pro v3 due to popular demand. We
simply issue a FEAT command and if MDTM is supported and if the user has
opted to retain the current timestamp of an uploaded file, we simply attempt
the MDTM-modify sequence. If it fails we notify the user via the log. More
and more servers are adding support for both MDTM-query and MDTM-modify. It
would be nice if MDTM-modify could be formalized in an upcoming RFC or
draft, as the market wants it and it is very helpful for folder
synchronization, overwrite comparison and other such tasks.

Robert T. Oslin III
Product Manager
GlobalSCAPE Texas, LP.





</font></pre>
</blockquote>
</body>
</html>

--------------010301090004090907030601--

--------------ms020102000203080303030908
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJUDCC
AwYwggJvoAMCAQICAwpxijANBgkqhkiG9w0BAQQFADCBkjELMAkGA1UEBhMCWkExFTATBgNV
BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx
HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVl
bWFpbCBSU0EgMjAwMC44LjMwMB4XDTAzMDczMDAyMDkyOFoXDTA0MDcyOTAyMDkyOFowRjEf
MB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEjMCEGCSqGSIb3DQEJARYUamFsdG1h
bkBjb2x1bWJpYS5lZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDBtDG6ZyGA
sK+rZOfKPKGBn6oCTLYSLk/mpeX9QTmTG71qh308KUeN35qqoRXjLvscfw6NPOYXiuxE/RqL
sx7WKEnK3C4gzzpioCTX1b7o4M7YbpvCRBFPE9Jgsd0yz2EN+mk/pPuK1GP+iQNot2m4A56A
aPe6F5T25GqffU535GNIdAtWPao6wHcOm17se25ny/TNzb9mlA4UzYl9XP7MF1fkpJyaDDAy
DNNTSSjxBdPVs2EaYq1p/xadXbIpysQiySXAxoeiZusgJopRHLcBsBmmY9QVD4QnUqZVmfJ5
f1CiNri5vlexKCmdFSrxMLuoLr4EQZCECdusp6ZnIt75AgMBAAGjMTAvMB8GA1UdEQQYMBaB
FGphbHRtYW5AY29sdW1iaWEuZWR1MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEA
DPKe/CuA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