Hi,
I need to download URL's to a file using C++ code.

Does anyone know of a library, compatible with Windows, that will do this?

I know about CURL, but after spending days trying to configure LibCurl using Cygwin I'm ready to give up. A friend has been able to use libcurl on Linux successfully, but not with Windows. The installation docs are cryptic at best. I realize the cool thing to do would be to just buy a Red Hat Linux box or something like that, but I'm not there yet.

Can anyone help? Are there other libraries out there that will work? I have a project due soon, and really need to get this going.

You can always do a system() call to make c++ do it the way you would do it from the command line. In linux, I would use wget:

system("wget yourURL");

I'm not sure what you would use in Windows.

David

Edited 4 Years Ago by mike_2000_17: Fixed formatting

That's a really good idea... The command line curl works, just not the linking part.
I'll try it out. Thanks David.

You can always do a system() call to make c++ do it the way you would do it from the command line. In linux, I would use wget:

system("wget yourURL");

I'm not sure what you would use in Windows.

David

Edited 4 Years Ago by mike_2000_17: Fixed formatting

This question has already been answered. Start a new discussion instead.