Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11772

Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon.

From "Mayayana" <mayayana@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Cannot get VBS to retrieve a webpage using HTTPS .. spoke too soon.
Date 2017-10-12 10:17 -0400
Organization Aioe.org NNTP Server
Message-ID <orntk0$kae$1@gioia.aioe.org> (permalink)
References (5 earlier) <orlim3$u6c$1@gioia.aioe.org> <orlpdh$19se$1@gioia.aioe.org> <orluiu$1isd$1@gioia.aioe.org> <orm3fl$1qfj$1@gioia.aioe.org> <orn5dm$189f$1@gioia.aioe.org>

Show all headers | View raw


"R.Wieser" <address@not.available> wrote

| No, it doesn't really make sense to me -- no matter in which language 
you're
| using the object -- not to include support for the known types of
| compression. You always use them.
|
   I agree, but it's also not common for people
to write their own downloader. For me personally
winhttp is perfect because I have the zlib code
and it's not a problem to add decompression
functionality. Encryption, on the other hand, is
a headache. I spent a lot of time awhile back
trying to write my own encryption routines for
sending email, using one of a number of options.
I couldn't get TLS to work, couldn't find clear
docs, and couldn't find anyone who seemed to
know what they were talking about. (I haven't
even looked at http encryption.)

  As with a lot of things, people offer code and help
without really knowing the topic. Lots of people
had samples for sending email through gmail using
SSL/TLS starting on an open port. No one had
samples for using STARTTLS on port 465. The former
negotiates a transition to encryption. The latter
starts encrypted. Most people didn't understand
the difference. ("Why do you need to use anything
other than gmail?") I finally gave up. So it was a big
relief to find that winhttp could wrap encryption
for me.

  I've noticed a similar pattern whenever things are
difficult. At one point I wrote VB6 code to handle the
CDECL calls in cabinet.dll, so that I could work with
CAB files. VB experts had been offering CAB code for
years. VB Programmers Journal even had an article
about it once. In all cases the code was calling
SetupIterateCabinet from setupapi.dll, because VB
could make that call easily. But that could only access
one of 3 types of CAB file! So it was essentially useless.
But no one seemed to know that, including the VB6
experts.

  You may already have ZLib code. If not and you
want to add that to your project, I have a sample
here:

www.jsware.net/jsware/vbcode.php5#zlib

  It's easy to use, but takes a little setup because
it deals with byte strings. You can't just hand zlib
a file. 

Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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