Calculates a checksum of a remote file.
checksum <alg> <file>
alg is a name of a checksum algorithm to use. Use IANA name of algorithm or use a name of any proprietary algorithm the server supports (with SFTP protocol only). Commonly supported algorithms are
XML log element:
checksum sha-1 index.html
Parameters mapping: Command parameters
file maps to method parameters
path, respectively. You have to convert relative paths to absolute paths.
For example, the following script snippet:
maps to the following PowerShell code:
Site design by Black Gate