Differences
This shows you the differences between the selected revisions of the page.
2016-05-25 | 2016-05-27 | ||
grouping @require (martin) | in the future version, refresh after upload (martin) | ||
Line 20: | Line 20: | ||
# @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 2 | + | # @version 3 |
# @homepage ~~SELF~~ | # @homepage ~~SELF~~ | ||
- | # @require WinSCP 5.8.3 | + | # @require WinSCP 5.8.4 |
# @require .NET 4.5 | # @require .NET 4.5 | ||
# @option Use7zip checkbox "Use &7-zip" " " -use7zip | # @option Use7zip checkbox "Use &7-zip" " " -use7zip | ||
Line 135: | Line 135: | ||
Write-Host ("Archive {0} uploaded." -f $archiveName) | Write-Host ("Archive {0} uploaded." -f $archiveName) | ||
+ | |||
+ | & "$env:WINSCP_PATH\WinSCP.exe" "$sessionUrl" /refresh "$remotePath" | ||
} | } | ||
finally | finally |