Download a file from the internet

Aug 1, 2010 at 12:01pm
Ok, let's say that I have a program, and if users checks a box and click apply a file has to be downloaded from the internet!
Is this possible for C++ ?
Can you give me an example of downloading the file
http://www.example.com/something.zip
?
Thx in advance for any replies
Aug 1, 2010 at 12:33pm
here's an example http://www.cplusplus.com/files/urlmon.zip but it only works on VC++. If you want more portable code, use libcurl.
Aug 1, 2010 at 12:48pm
Thanks for your reply. I will repost here if I have any problems with libcurl.
Aug 3, 2010 at 9:39am
I have really searched everywhere but I cannot find the libcurl library...
Aug 3, 2010 at 10:00am
Topic archived. No new replies allowed.