cURL / Mailing Lists / curl-library / Single Mail


Re: downloading zip file via aspx page

From: Claudio_Unige <>
Date: Wed, 16 Jun 2010 11:04:19 +0200

On Wed, Jun 16, 2010 at 10:18 AM, Daniel Stenberg <> wrote:

> On Wed, 16 Jun 2010, Claudio_Unige wrote:
> Sorry I must have messed up, there is no actual popup in the html or
>> javascript code, it is as if the server after the html page sends more stuff
>> (I dont know aspx at all). I believe it is something like a request with
>> type octet stream... Unfortunately I cannot be more precise since I really
>> dont know aspx nor have the source available.
> As usual, you can just snoop what your browser does with a plugin such as
> LiveHTTPHeaders or similar, and then you mimic those requests (closely) with
> libcurl.
> --
> /
> -------------------------------------------------------------------
> List admin:
> Etiquette:

I didnt know LiveHTTPHeader, I just used wireshark. Now everything is
clearer the website is sending:

Content-Disposition: Attachment; filename=""

At least I understood how it works now Ill go through the libcurl docs to
see how to retrieve that file and save it in memory or in a File pointer.


List admin:
Received on 2010-06-16