Posted: 2013-01-14 16:23
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?
Location: Prague, Czechia
Please read documentation:
If that does not help, come back.
You can post new topics in this forum
And it's free!