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...
MoinAsked:
Who is Participating?
 
bogie2Connect With a Mentor Commented:
You could also use a CArchive and store using the "<<" operator.
0
 
rrcCommented:
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().
0
All Courses

From novice to tech pro — start learning today.