Differences
This shows you the differences between the selected revisions of the page.
2021-11-05 | 2022-06-16 | ||
Bug 2039 – Extension "ZIP and Upload" does not work with files in a drive root (martin) | 5.20 Change: SHA-256 fingerprints are not padded anymore (martin) | ||
Line 12: | Line 12: | ||
<code> | <code> | ||
- | powershell.exe -File "ZipUpload.ps1" -sessionUrl "sftp://username:password;fingerprint=ssh-rsa-xxxxxxxxxxx...=@example.com/" -remotePath "/remote/path" -archiveName "archive.zip" file1.dat file2.dat | + | powershell.exe -File "ZipUpload.ps1" -sessionUrl "sftp://username:password;fingerprint=ssh-rsa-xxxxxxxxxxx...@example.com/" -remotePath "/remote/path" -archiveName "archive.zip" file1.dat file2.dat |
</code> | </code> | ||
Line 42: | Line 42: | ||
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)] | ||
$remotePath, | $remotePath, |