[fpc-pascal] Connect to 'https://...' url with fphttpclient ?
Michael Van Canneyt
michael at freepascal.org
Mon Jan 23 14:41:45 CET 2017
On Mon, 23 Jan 2017, fredvs wrote:
> Hello Michael.
>
>> just tried with the httpget sample program, works just fine.
>
> To access a "https" file ?
Yes. I accessed the file URL you posted here.
>
> If so, there is something that must be done to the server to allow file
> streaming (or I miss something).
Are you testing on Windows ?
If so, make sure the openssl libraries are located somewhere in the PATH.
(just put them next to the binary).
If you are on Mac, Beware that the default openssl libraries on Mac are old
and that some servers simply refuse to set up the SSL connection with older
protocols.
Michael.
More information about the fpc-pascal
mailing list