Differences
This shows you the differences between the selected revisions of the page.
extension_archive_and_download 2019-08-01 | extension_archive_and_download 2022-06-16 (current) | ||
Line 6: | Line 6: | ||
When extracting the files, ZIP format is supported natively by the script. To use a different archive format than ZIP, you can install [[https://www.7-zip.org/|7-Zip]], add [[#options|configure the extension]] to use it. | When extracting the files, ZIP format is supported natively by the script. To use a different archive format than ZIP, you can install [[https://www.7-zip.org/|7-Zip]], add [[#options|configure the extension]] to use it. | ||
+ | |||
+ | For opposite functionality, use extension [[library_example_zip_and_upload|*]]. | ||
<code powershell - ArchiveDownload.ps1> | <code powershell - ArchiveDownload.ps1> | ||
Line 38: | Line 40: | ||
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, |