Development/C/C++
URLDownloadToFile 예제
준P
2013. 12. 31. 22:06
#include <stdio.h>
#include <conio.h>
#include <UrlMon.h>
#pragma comment(lib,"UrlMon.lib")
int main(){
int num;
printf("[BlackRose] V3 설치파일 다운로드 : 1 종료 : 2\n\n명령입력 :");
scanf("%d",&num);
switch(num){
case 1:
URLDownloadToFile (NULL, "http://v3lite.v3webhard.com/download/V3LiteSG_Setup.exe", "C:\\V3LiteSG_Setup.exe", 0, NULL);
getch();
case 2:
exit(0);
default :
printf("명령을 잘못입력하셨습니다.\n");
}
getch();
return 0;
}
URLDownloadToFile (NULL, "http://v3lite.v3webhard.com/download/V3LiteSG_Setup.exe", "C:\\V3LiteSG_Setup.exe", 0, NULL);
요게 젤중요..
v3lite다운할게에여.c드라이브폴더에..