0

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.

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by JeremyJ
0

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 by mike_2000_17: Fixed formatting

0

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 by mike_2000_17: Fixed formatting

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.