| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: What's the cURL syntax to download a binary file from a download script URL
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 28 May 2004 09:05:21 +0200 (CEST)
On Thu, 27 May 2004, Larry Johnson wrote:
> I would like to automate a download of a binary file using cURL.
...
> The IE headers look like this
...
> Cookie: PHPSESSID=29792964b8b5d26399e5062d2159b8e8
Obviously your browser had already received a cookie for this so it could send
Remove all cookies (from this site) again, start recording and start all over.
> HTTP/1.1 200 OK
... is this really the working download response headers? It says the content
> And the headers from my attempts with cURL are
...
> Set-Cookie: PHPSESSID=f783ce8bf60603ce516f30ba1b8707d0; path=/
Hey look, in this response you get a cookie set. This is probably that request
> How can I get cURL to imitate what IE does?
Pay attention to cookies. Check the *full* IE sequence. Cross your fingers!
--
Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-28
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info