How is it possible to Zip, Download and Delete (ZDD) a file in WinSCP?
For example, your local dir is Desktop and your remote dir (the one in your server machine) is, say, /var/www/html
and you want to zip and download a particular dir or file, and then you want it to be removed the moment the download was finished.
To further explain, in linux I could do, for example:
(
zip -r /var/www/html/dr.zip /var/www/html
scp /var/www/html/dr.zip USER@IP:/location
rm /var/www/html/dr.zip
)
I need similar thing for WinSCP yet I'm aware that the WinSCP download mechanism should be used and that it is different then the Nix scp
utility.
My question:
Do you know a way to achieve this with WinSCP?