Re: Custom command - zip and download
There is now a ready-made extension that does exactly this:
https://winscp.net/eng/docs/extension_archive_and_download
https://winscp.net/eng/docs/extension_archive_and_download
Session.ExecuteCommand
) and download it (using the Session.GetFiles
)