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

后端 未结 3 596
悲哀的现实
悲哀的现实 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:17

    I have seen the same thing. Setting the TIdHTTP.ReadTimeout to zero fixes the problem for me.

    ...
    HTTP.IOHandler := IOHandler;
    HTTP.ReadTimeout := 0;
    

提交回复
热议问题