bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] post-data works but post-file does not?


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] post-data works but post-file does not?
Date: Wed, 22 Sep 2010 13:21:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

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 <address@hidden> writes:

> Identical, I just copy/pasted from the file to the command line.
>
> Boggle.
>
> On Tue, Sep 21, 2010 at 4:59 PM, Keisial <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]