-인자로 전달받은 URL로부터 파일을 다운로드 받습니다.
ex:)GetFile(“http://localhost/file.exe“,”c:\\file.exe“);
//http://localhost/file.exe 에서 파일을 다운받아 c:\file.exe에 저장
#include hr=URLDownloadToFile(NULL,url,dstPath,0,NULL); if(hr == S_OK){ return FALSE; |