I was wondering if someone could please give me some help in opening a URL in C source code (on Ubuntu).

I have to download an XML file from a URL in one of my programs and save it on disk for parsing.

Any help would be much appreciated. Thank you very much.