Download files on the web

Hello the community,
In the past I could download files (pictures) on the Internet using API or HTTPSocket functions, but
here with addresses that start with htpps it does not work anymore.
I hope not to dig up an old post but despite my researchs I have not found the solution.
If anyone could give me the direction to follow I would be very grateful.
I use Real Studio 2010.
Thank you.

Many servers no longer accept TLSv1.0, which HTTPSecureSocket uses as its default. Try changing the socket’s ConnectionType to TLSv1.1 or higher.

Or use SSLv23 since that will actually negotiate the best connection out of all of the available protocols, even the TLS ones.