简体   繁体   中英

Downloading File with libcurl in c++

I am trying to download a zip file from a website but running into a few issues.

http://ampaste.net/m1632f19a

I implemented libcurl, followed some examples on downloading a file, used a big zip file so I could watch the progress %. It takes about 20 seconds to download, when it completes I go look and there is no file.

Anyone have any ideas?

Here is a related question

This post seems to use

double* Bar;
curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, &Bar);

maybe it is a progress specific problem. Have you tried without the progress stuff?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM