Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 May : Downloading a secure page
| Subject: | Downloading a secure page |
| Posted by: | "millerb" (bcmill..@prairiecomm.net) |
| Date: | Fri, 23 May 2008 21:31:07 |
Hi,
Let me start by saying how great and useful the Indy components are.
We're using the version of Indy10 that came packaged with Delphi2005.
I'm trying to download a secure page.
The basic code is as follows:
***
httpReader := TIdHTTP.Create(nil)
url := 'https://www.webpage.com/research/snapshot.asp?signal=ASP'
page := httpReader.Get(url);
***
The error I'm getting is:
...EidIOHandlerPropInvalid ... 'IOHandler value is not valid'.
It was pointed out that for a secure page you need the
IdSSLIOHandlerSocketOpenSSL component. I installed that and have the
TIdHTTP IOHandler property set to it.
Still get the same error message. Do the IdSSLIOHandlerSocketOpenSSL
properties need to be set. I'm having a tough time finding details from
the available documentation, forums, indyproject.org, etc.
In other posts the need for special dlls have been mentioned;
downloading OpenSSL, and other things.
Is having the latest version of Indy10 important here?
Any guidance - much appreciated.
Thanks,
Barry