Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Custom command - zip and download

You would have to write a script that opens its own session (to the same host), creates the ZIP and downloads it. The script can also refresh WinSCP GUI file panel when it finishes.


You basically need script like this:
Except you have to create the ZIP remotely (using the Session.ExecuteCommand) and download it (using the Session.GetFiles)

Custom command - zip and download

Hi, i would like to make a custom command to zip and download a file in one step.

The zip part is already done, but i dont know if i can append the download instruction...

Any suggestion?

Best regards,