Thanks, but it didn't work for me. The error message is about
Error: Exception calling "ParseUrl" with "1" argument(s): "SSH host key fingerprint "ssh-rsa-..." does not match pattern ...
But anyway, this all is too complicated, both extensions and automation scripts, especially with the powershell popup window. I don't understand why have those - actualy, WinSCP can do it all already, and it could do it long ago, but not in one command/click - in 3 or more. I already have toolbar buttons that tar/bzip and tar/gz and so on, also, respective buttons for unpacking. The only thing that is missing - some kind of macroses that allow to run multiple commands at the same time, and the commands should be able to run ON DIFFERENT SIDES (both remote and local).
And archive name should not be entered, it's a temporarily file that should be deleted after unpacking; I should not even see it or know it was there. The real archive name should be something temporary and opaque that doesn't exist in both panels.
The user only has to configure exact commands for packing/unpacking on both sides.
For example, it could be, for downloading:
1. tar -cvj -f arc-tmp-zzz.tbz -- !&
2. "c:\Program Files\WinRAR\WinRAR.exe" x !^!
So, a prospective "Download with compression" button would run the 1st command on whatever is selected on the server side, creating arc-tmp-zzz.tbz, then the archive is downloaded like I double-clicked it, then it is removed from the server, and then the 2nd command would run on arc-tmp-zzz.tbz and the archive is deleted.
The whole thing should work just like downloading with double-clicking, with the only visible difference that the download is faster.
Reply with quote