cURL / Mailing Lists / curl-library / Single Mail


Re: HTTP Download

From: Daniel Stenberg <>
Date: Wed, 8 Apr 2009 20:11:14 +0200 (CEST)

On Wed, 8 Apr 2009, Peter Soxberger wrote:

> I found an example of how to put a file to a server with HTTP PUT. But how
> can I start a HTTP download?

We have more examples:

And even a tutorial:

> How can I get the file size of the file that I'm downloading, so that I can
> calculate the progress?

You can't be sure to get that info, but for the cases you do
curl_easy_getinfo() can tell.

Received on 2009-04-08