I would thank you if you send me the code for a function in c that gets a url and downloads the file. my email is studentintau@gmail.com
This is not a free software store. It is place to get help with programs that YOU write. You might want to investigate the jobs forum.