Home > Software engineering >  Under the MFC with urlmon URLDownloadToFile HTTP download file is normal, why download HTTPS problem
Under the MFC with urlmon URLDownloadToFile HTTP download file is normal, why download HTTPS problem

Time:09-29

My novice, find example is under the MFC with urlmon URLDownloadToFile HTTP download file is normal also can show the progress bar is in good condition, but cannot download the file after download the HTTPS file, build the HTTPS server, certificate server, a client certificate, local normal IE can download files, can appear small lock icon, but can't load program is, and the program in winxp, win2003 test no problem, Windows 7 operating system out of the question above, see you have met related problem

CodePudding user response:

Whether permission problems, use administrator privileges to run your program

CodePudding user response:

Use httpdebugger HTTPS requests under debugging

CodePudding user response:

Whether should be permission problems, and firewall prevents you visit

CodePudding user response:

With administrator privileges to run off the firewall

CodePudding user response:

I want to ask next URLDownloadToFile support HTTPS, if the certificate is no problem, whether can download properly HTTPS file
Or is there a way to ignore the HTTPS method

CodePudding user response:

reference 5 floor ttt2 reply:
if I want to ask next URLDownloadToFile support HTTPS, if the certificate is no problem, whether can download properly HTTPS file
Or is there a way to ignore the HTTPS method

Ignore the certificate and need to use the WINHTTP API to download

CodePudding user response:

Hello, the problem solved? I also encountered such a problem, download the HTTPS file, not with urldownloadtofile, this method does not support HTTPS

CodePudding user response:

refer to 7th floor zhoudh115512 response:
hello, the problem solved? I also encountered such a problem, download the HTTPS file, not with urldownloadtofile, this method does not support HTTPS

To ask!
  • Related