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.
Last edited by twomers; Nov 23rd, 2008 at 9:49 am.
I blag!?
"Mr Kitty, you have to live in the attic now. Here, write a diary."
I am the Walrus!