Link to home
Start Free TrialLog in
Avatar of Moin
Moin

asked on

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...
Avatar of rrc
rrc

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().
ASKER CERTIFIED SOLUTION
Avatar of bogie2
bogie2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial