cURL / Mailing Lists / curl-users / Single Mail


RE : can't get URL with curl

From: Ilann Cohen <>
Date: Tue, 7 Dec 2004 18:43:16 +0100

Hi Daniel,

Thanks for your answer.

I tried the same command with the -L option, but it didn't work. Curl
could fetch a web page containing the input form, and not the result.

As you said it looks like a cookie thing. Here is what I do with
Internet Explorer: I filled the input form by hand, then I can see the
first result page. (If I copy this first page URL and try to fetch it
with curl, it works!). The result is multi page. Then I click by hand on
"next page" or "page 2", I can see the second result page. When I try to
fetch the second page URL with curl, it doesn't work... What should I do


> -----Message d'origine-----
> De :
> [] De la part de Daniel Stenberg
> Envoyé : lundi 6 décembre 2004 23:35
> À : curl tool talk
> Objet : Re: can't get URL with curl
> On Mon, 6 Dec 2004, Ilann Cohen wrote:
> > For a reason I can't understand, curl and libcurl are
> unable to fetch the
> > following URL, whereas Internet Explorer is able to display it.
> You probably didn't make sure you passed along the correct cookie(s).
> Also, you should use -L to make curl follow Location: headers
> like this server
> responds to this request.
> --
> Daniel Stenberg -- --
> Dedicated custom curl help for hire:
Received on 2004-12-07