Automatically compress files before download

Advertisement

swinghouse
Guest

Automatically compress files before download

Hi,

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.

This line:

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?

Thanks!

/Mattias

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum