Differences
This shows you the differences between the selected revisions of the page.
library_example_two_way_synchronize_delete 2021-01-15 | library_example_two_way_synchronize_delete 2022-06-16 (current) | ||
Line 9: | Line 9: | ||
<code batch> | <code batch> | ||
- | powershell.exe -File C:\path\SynchronizeTwoWayDelete.ps1 -sessionUrl "sftp://user:password;fingerprint=ssh-rsa-xxxxxxxxxxx...=@example.com/" -localPath "C:\local" -remotePath "/remote" -listPath "C:\cache\example.txt" | + | powershell.exe -File C:\path\SynchronizeTwoWayDelete.ps1 -sessionUrl "sftp://user:password;fingerprint=ssh-rsa-xxxxxxxxxxx...@example.com/" -localPath "C:\local" -remotePath "/remote" -listPath "C:\cache\example.txt" |
</code> | </code> | ||
Line 34: | Line 34: | ||
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, |