I have used following to upload file, to check Checksum and compare local and remote files data
sftp.PutFile(fileStream, remotePath);
var checksumAlgorithm = ChecksumAlgorithm.SHA256;
string remoteChecksum =sftp.GetChecksum(remotePath, checksumAlgorithm);
string localChecksum = LocalItem.GetChecksum(file.FullName, checksumAlgorithm);
But I am getting below exception
The file path does not exist or is invalid.
at Rebex.Net.Sftp.unzfy(jipzm p0, String[] p1, Int64 p2, Int64 p3, Int32 p4, Boolean p5, vqtuw p6)
at Rebex.Net.Sftp.atdei(jipzm p0, String[] p1, Int64 p2, Int64 p3, Int32 p4)
at R