Differences
This shows you the differences between the selected revisions of the page.
| library_example_verify_file_checksum 2019-09-24 | library_example_verify_file_checksum 2022-06-16 (current) | ||
| Line 7: | Line 7: | ||
| To run the script manually use: | To run the script manually use: | ||
| - | <code batch> | + | <code> | 
| - | powershell.exe -File C:\path\VerifyFileChecksum.ps1 -sessionUrl "sftp://username:password@example.com/" -localPath "C:\local\path\file.dat" -remotePath "/remote/path/file.dat" | + | powershell.exe -File C:\path\VerifyFileChecksum.ps1 -sessionUrl "sftp://username:password;fingerprint=ssh-rsa-xxxxxxxxxxx...@example.com/" -localPath "C:\local\path\file.dat" -remotePath "/remote/path/file.dat" | 
| </code> | </code> | ||
| Line 28: | Line 28: | ||
| param ( | param ( | ||
| # Use Generate Session URL function to obtain a value for -sessionUrl parameter. | # Use Generate Session URL function to obtain a value for -sessionUrl parameter. | ||
| - | $sessionUrl = "sftp://user:mypassword;fingerprint=ssh-rsa-xxxxxxxxxxx...=@example.com/", | + | $sessionUrl = "sftp://user:mypassword;fingerprint=ssh-rsa-xxxxxxxxxxx...@example.com/", | 
| [Parameter(Mandatory = $True)] | [Parameter(Mandatory = $True)] | ||
| $localPath, | $localPath, | ||