Would it be possible to add your tweak from the 2021-09-13 post to the script that is included in the WinSCP setup program?
That won't work well with the default Commander interface.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Would it be possible to add your tweak from the 2021-09-13 post to the script that is included in the WinSCP setup program?
WinSCP.exe
and WinSCPnet.dll
, or set WINSCP_PATH
environment variable to point to such folder (typically C:\Program Files (x86)\WinSCP
).
Microsoft Windows [Version 10.0.19043.1889]
(c) Microsoft Corporation. All rights reserved.
C:\Users\zchoy>powershell.exe -ExecutionPolicy Bypass -File "C:\Program Files (x86)\WinSCP\Extensions\ArchiveDownload.WinSCPextension.ps1" -sessionUrl "sftp://firstwatchcommunity:2s3yyMxu5CEkkGO;fingerprint=ssh-ed25519-k6RHsnipsnipsnipo94k;x-name=abc%2520Community%2520%28Marketing%2520Site%29@nice.try:15480/" -remotePath "/www/firstwatchcommunity_871/" -localPath "C:\Users\zchoy\Downloads" -archiveName "archive" -pause -sessionLogPath "" -path7zip "C:\Program Files\7-Zip\7z.exe" -archiveType zip -archiveCommand "" public
Error: Cannot bind parameter 'Path' to the target. Exception setting "Path": "Cannot find path 'C:\Program Files (x86)\WinSCP\Extensions\WinSCPnet.dll' because it does not exist."
Press any key to exit...
cmd
console. This way you will be able to see any error it might produce.
-localPath "!\"
with -localPath "%LocalPath%"
@option ArchiveName
line:
# @option LocalPath -run textbox "&Target path:" "!\"
Connecting...
Error: Exception calling "Open" with "1" argument(s): "The version of C:\Program Files (x86)\WinSCP\winscp.exe (6.0.0.0) does not match version of this assembly C:\Program Files (x86)\WinSCP\WinSCPnet.dll (5.19.2.0)."
Press any key to exit...
Archive archive.zip created.
Downloading...
Error: Exception calling "Check" with "0" argument(s): "Can't create file 'C:\Users\Zian\Documents\Personal\Webpage\archive.zip.filepart'.
System Error. Code: 3.
The system cannot find the path specified"
Press any key to exit...
c:\users\zian\documents\personal
because there's no personal
folder in the Documents
folder on my computer's C drive.