Downloading files from Internet

Hi, I want to download files from Internet using my utility. I am using CInternet class of MFC. I can donload text files but how I will be able to write binary files like mpeg files. Will I have to use WriteFile method of CInternet class.
Waiting for help...
Who is Participating?
bogie2Connect With a Mentor Commented:
You could also use a CArchive and store using the "<<" operator.
If you open a CHttpFile, you should be able to loop on the Read()  calls and output the results to any other CFile using the Write().
All Courses

From novice to tech pro — start learning today.