The error is being reported by your command-line processor (bash), not wget.
Another alternative is to put the POST data into a file and then use
--post-file. (The POST file needs to include the 'data=' as well as the
contents of infile.txt.)
Tony
-Original Message-
From: bug-wget-bounces
Hello,
This is a follow up to my message from October 2009 re successful
wget-1.12.1-devel mingw compile. We have since pushed that build out as an
optional supplemental utility for the GetGnuWin32 downloader.
I notice that there is a bug when specifying an input file. If I try something
like
Dear all,
I'm trying to download the content of a file with this command line:
wget --post-data="data=`more infile.txt`" "myServer" -O resultfile.txt
It works if infile.txt is a small file: I retrieve the content of infile.txt
in resultfile.txt
But if infile.txt is a much bigger file, I get this