Differences
This shows you the differences between the selected revisions of the page.
2020-12-18 | 2020-12-22 | ||
using ~~SELF~~ tag (martin) | prevent invalid syntax highlighting + code wrapping (martin) | ||
Line 12: | Line 12: | ||
<code batch> | <code batch> | ||
- | powershell.exe -File C:\path\FindDuplicates.ps1 -sessionUrl "sftp://username:password@example.com/" -remotePath "/path" -remoteChecksumAlg sha-1 | + | powershell.exe -File C:\path\FindDuplicates.ps1 -sessionUrl "sftp://user:password@example.com/" -remotePath "/path" -remoteChecksumAlg sha-1 |
</code> | </code> | ||
Line 65: | Line 65: | ||
else | else | ||
{ | { | ||
- | Write-Host "Error downloading file ${remotePath}: $($transferResult.Failures[0])" | + | Write-Host ( |
+ | ····················"Error downloading file ${remotePath}: $($transferResult.Failures[0])") | ||
$checksum = $False | $checksum = $False | ||
} | } |