How to download a file over HTTPS using Indy 10 and OpenSSL?

后端 未结 3 597
悲哀的现实
悲哀的现实 2020-12-25 08:59

I have the following task: download a file using HTTPS and authentication. Indy seems the way to go but for some reason it doesn\'t work so far. I have the following in plac

3条回答
  •  星月不相逢
    2020-12-25 09:26

    All SSL related functions for secure connections will fail unless some additional libraries are installed properly.

    1.) Download libraries

    2.) unzip and copy both DLLs to your project folder (or somewhere in the PATH of your system)

    with that your code from the question works fine for me.

    --reinhard

提交回复
热议问题