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: http://curl.haxx.se/lxr/source/docs/examples/ And even a tutorial: http://curl.haxx.se/libcurl/c/libcurl-tutorial.html
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.
-- / daniel.haxx.se
