How does GetSupportedChecksumTypes work?

0 votes
asked May 18, 2011 by John Hancock (260 points)
edited May 19, 2011

I am trying to validate transfers using checksum, but the GetSupportedChecksumTypes returns an empty array.

Out of curiosity, i looked at the log and see that when I do call that function, no command is sent to the server. I'm just wondering how that function knows what, if any, checksum types are available.

Applies to: Rebex FTP/SSL

1 Answer

0 votes
answered May 19, 2011 by Lukas Matyska (60,690 points)
edited May 19, 2011

Supported checksum types are known just after the successful login when a list of supported features is received from the server. Therefore it is not needed to send a command when calling the GetSupportedChecksumTypes method.

If the GetSupportedChecksumTypes method returns an empty array, it means the server has no extension to compute a remote checksum.