I'm trying to run the sample script from https://winscp.net/eng/docs/script_auto_compress_download, which illustrates how to automatically compress files before download, but I keep getting the same error.
call tar -czf /tmp/archive.tar.gz %2%
... results in the following error message:
500 Syntax error, command unrecognized.
Syntax error, command unrecognized.
I've installed GnuWin on my Windows box in order to get the tar utility and have put the path to the GnuWin directory in my PATH variable, and I've confirmed that I can run tar from the commandline, but the error persists.
Any idea what I'm missing?