|Subject:||Re: Comparing files|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Tue, 19 Feb 2008|
"Clément Doss" <firstname.lastname@example.org> wrote in message
> How can I know if the server supports a command.
That depends on the particular command you are interested in. Most commands
you run across are extensions to the protocol, and thus should be listed in
the servers' reply to the FEAT command (if it even supports custom
> I would like to know if the server support MD5 (to compare files),
> is there a way to know it?
The TIdFTP.Capabilities property can tell you that after you are logged in.
However, you do not need to use the MD5 command manually, as TIdFTP has its
own VerifyFile() method that uses the XSHA1, XMD5, or XCRC commands
internally (in that order), depending on their availability on the server.
Comparing files posted by Clément_Doss on Sat, 16 Feb 2008