Re: FTP Extensions for Cryptographic Hashes (draft-bryan-ftp-hash)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FTP Extensions for Cryptographic Hashes (draft-bryan-ftp-hash)
On Wed, 24 Mar 2010, Anthony Bryan wrote:
This ID proposes a feature where FTP clients can request the hash of a file.
A number of FTP clients and servers have implemented multiple commands
(XMD5, XSHA1, SITE SHOHASH, etc) that are not formally specified, leading to
non-interoperability and confusion.
Nice draft!
Here's one remark:
You use 550 as response code when the user isn't allowed to use the HASH
command, but I find that 550 is otherwise often used for file-not-found in
both SIZE, RETR and other responses.
Wouldn't it make sense to have a "file not found" response for when you try to
HASH a non-existing file? Wouldn't it make sense to re-use the same error code
(550) for that as other command use?
Maybe the "HASH not allowed" case can use 552 or 553?
--
/ daniel.haxx.se
Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.