checksum calculation
Provide a way to calculate checksum of remote file while using sftp tranfer
Since version 2016 R3 Rebex SFTP supports the ‘check-file’ extension of SFTP protocol.
If your server supports the extension, you can get the remote file checksum via the Sftp.GetChecksum method.
For a code example see:
http://forum.rebex.net/4514
-
AdminTomáš Knopp (Admin, Rebex) commented
SFTP protocol does not have direct support for retrieving remote file checksums. However, you can still get the remote file checksum if you run a server specific command like md5, md5sum, or openssl md5. See more details on how to achieve that in our forum answer at http://forum.rebex.net/questions/4514/calculate-md5-remote-file-checksum-with-sftp