do you have any tips on where to start?

libcurl. It's fairly straightforward after you get used to it.

Edit: Once you get the library working this should pretty much do the trick. Just open the file in binary mode and I think it should work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.