Is there a way to calculate remote file checksum when connected to an SFTP server?
Since version 2016 R3 Rebex SFTP supports the 'check-file' extension of SFTP protocol.
To get the remote file checksum, just use the GetChecksum method.
GetChecksum
string remoteChecksumMd5 = sftp.GetChecksum(remotePath, ChecksumAlgorithm.MD5); string remoteChecksumSha256 = sftp.GetChecksum(remotePath, ChecksumAlgorithm.SHA256);
See more code examples at http://www.rebex.net/sftp.net/features/single-file-operations.aspx#checksums
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
Applications:
If you need immediate assistance, please contact us directly.