Hello,

What output do you get with these two commands?

wget -d --post-file=file http://www.web.site.org/ 2>&1 | grep ^Content

wget -d --post-data=".." http://www.web.site.org/ 2>&1 | grep ^Content

if the output is identical, then please attach the full debug log
(remove the pipe to grep) for both commands.

Thanks,
Giuseppe



Charles Kozierok <[email protected]> writes:

> Identical, I just copy/pasted from the file to the command line.
>
> Boggle.
>
> On Tue, Sep 21, 2010 at 4:59 PM, Keisial <[email protected]> wrote:
>>  Charles Kozierok wrote:
>>> Hi,
>>>
>>> Hoping someone can help me out with this.. I just found a weird case
>>> (after banging my head against a wall for a while) where an attempt to
>>> do a wget request with a --post-file= directive results in an internal
>>> server error, but the identical request with the same (very long) POST
>>> string in the command like as --post-data works.
>>>
>>> This is a problem for other strings that are too long to put in the
>>> command line.
>>>
>>> Any ideas?
>>>
>>> Best regards,
>>>
>>> Charles
>> Maybe the file version contains something more?
>> A trailing new line, a leading BOM, different encoding...
>>
>>

Reply via email to