Differences
This shows you the differences between the selected revisions of the page.
library_example_zip_and_upload 2022-06-16 | library_example_zip_and_upload 2024-05-27 (current) | ||
Line 25: | Line 25: | ||
# @description Packs the selected files to a ZIP archive and uploads it | # @description Packs the selected files to a ZIP archive and uploads it | ||
# @flag ApplyToDirectories | # @flag ApplyToDirectories | ||
- | # @version 9 | + | # @version 10 |
# @homepage ~~SELF~~ | # @homepage ~~SELF~~ | ||
# @require WinSCP 5.16 | # @require WinSCP 5.16 | ||
Line 164: | Line 164: | ||
# Refresh the remote directory in WinSCP GUI, if -refresh switch was used | # Refresh the remote directory in WinSCP GUI, if -refresh switch was used | ||
- | if ($refresh -and $needRefresh) | + | if ($refresh) |
{ | { | ||
Write-Host "Reloading remote directory..." | Write-Host "Reloading remote directory..." |