0

URL download to file is not downloading the zip file, the code hangs on URLDownloadToFile(..) below is the code:

CString sZipFile = "d:\myFolder\abc-candidate\candidate.zip"
CString sSource = "http://test.abc.com/cs/Ds/Es/F/GHI/candidate//file1" 
    HRESULT res = URLDownloadToFile(NULL, sSource, sZipFile, 0, NULL);
    if (res == S_OK) {
        printf("Ok\n");
    }
463035818_is_not_an_ai
  • 109,796
  • 11
  • 89
  • 185

0 Answers0