Download a file using HTTP?
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
I want to download a file using WinInet API/MFC. I can't use FTP. File might be any type such as bmp, dwg, or doc. Any ideas??? Thanks in advance.
If you can count on your target systems having IE 3 or later, use the function
URLDownloadToFile()
. I even have an article on how to use this function. :) -
If you can count on your target systems having IE 3 or later, use the function
URLDownloadToFile()
. I even have an article on how to use this function. :)I ran your exe. I got error download failed: Error 80004004 during download. I tried to download asp and dwg files. I tried to download file http://www.mindcracker.com/my/mh.dwg Any ideas? Thanks for your help. Mahesh