Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11763
| From | "Mayayana" <mayayana@invalid.nospam> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: Cannot get VBS to retrieve a webpage using HTTPS .. |
| Date | 2017-10-11 09:11 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <orl5b4$7qk$1@gioia.aioe.org> (permalink) |
| References | <orl0pm$1vpk$1@gioia.aioe.org> |
"R.Wieser" <address@not.available> wrote
| Does anyone know if there is a MS Active-X component which will allow me
to
| retrieve a HTTPS webpage ?
This seems to work, but I don't normally use it, so I'm
not familiar:
Set WinHttpReq = CreateObject("WinHttp.WinHttpRequest.5.1")
temp = WinHttpReq.Open("GET", "https://www.washingtonpost.com/", True)
WinHttpReq.Send
WinHttpReq.WaitForResponse
strResult = WinHttpReq.ResponseText
Set FSO = CreateObject("Scripting.FileSystemObject")
Set TS = FSO.CreateTextFile("C:\windows\desktop\up\index.html", True)
TS.Write strResult
TS.Close
Set TS = Nothing
Set fso = Nothing
Set WinHttpReq = Nothing
MsgBox Err.number & vbCrLf & Err.description
'------------------------------------------------
google.com gave me a 301
www.google.com worked but gave me a 404.
I then tried https://www.washingtonpost.com/
and got a cert expired error.
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Cannot get VBS to retrieve a webpage using HTTPS .. "R.Wieser" <address@not.available> - 2017-10-11 13:54 +0200
Re: Cannot get VBS to retrieve a webpage using HTTPS .. "Mayayana" <mayayana@invalid.nospam> - 2017-10-11 09:11 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. "R.Wieser" <address@not.available> - 2017-10-11 17:45 +0200
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "R.Wieser" <address@not.available> - 2017-10-11 18:24 +0200
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "Mayayana" <mayayana@invalid.nospam> - 2017-10-11 12:39 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "R.Wieser" <address@not.available> - 2017-10-11 18:59 +0200
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "Mayayana" <mayayana@invalid.nospam> - 2017-10-11 14:53 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "R.Wieser" <address@not.available> - 2017-10-11 22:22 +0200
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "Mayayana" <mayayana@invalid.nospam> - 2017-10-11 17:45 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "R.Wieser" <address@not.available> - 2017-10-12 09:25 +0200
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "Mayayana" <mayayana@invalid.nospam> - 2017-10-12 10:17 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "R.Wieser" <address@not.available> - 2017-10-12 19:19 +0200
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "Mayayana" <mayayana@invalid.nospam> - 2017-10-12 14:17 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "R.Wieser" <address@not.available> - 2017-10-12 23:09 +0200
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "Mayayana" <mayayana@invalid.nospam> - 2017-10-13 12:28 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "Mayayana" <mayayana@invalid.nospam> - 2017-10-13 14:26 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "Mayayana" <mayayana@invalid.nospam> - 2017-10-13 18:23 -0400
Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon. "R.Wieser" <address@not.available> - 2017-10-14 09:54 +0200
csiph-web