Differences

This shows you the differences between the selected revisions of the page.

2023-12-13 2024-05-27 (current)
Restored revision 1655392229. Undoing revision 1702448196. (martin) (hidden) Issue 2292 – Remote panel does not refresh after "ZIP and Upload" (martin)
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..."

Last modified: by martin