Re: How to perform an HTTP download using a script ?
- From: "Azz P" <alan.pearce@xxxxxxxxxxxxxxx>
- Date: 3 Oct 2005 03:46:41 -0700
I have good results from using the microsoft XML objects.
I have tested this as a .vbs
'**sample code**
Dim objXMLHTTP
Dim strPage
Set objXMLHTTP = CreateObject("MSXML2.serverXMLHTTP.4.0")
objXMLHTTP.Open "GET", "http://www.microsoft.com", False
objXMLHTTP.Send
strPage = objXMLHTTP.responseText
MsgBox(strPage)
'**end sample code**
Have Fun.
Adam Piggott wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Serge Wautier wrote:
> > Hi All,
> >
> > How do I download an HTML page using a script ?
> > The Microsoft Internet Transfer Control seems to be an option but it isn't
> > very well documented in MSDN. Therefore I assumed there must be a preferred
> > way (which I didn't find so far).
>
> Give cURL a go, I've used it in all sorts of applications and get on well
> with it.
>
> http://curl.haxx.se/
>
> HTH
> - --
> Adam Piggott, Proprietor, Proactive Services (Computing).
> http://www.proactiveservices.co.uk/
>
> Please replace dot invalid with dot uk to email me.
> Apply personally for PGP public key.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (MingW32)
>
> iD8DBQFDQO9z7uRVdtPsXDkRAuyIAJwKDtV7aXQdI+jrYkXYocBBPu/TzACeMOgH
> Ueu3bh+BnOrd2FEb9qcWKWM=
> =a1x7
> -----END PGP SIGNATURE-----
.
- Follow-Ups:
- Re: How to perform an HTTP download using a script ?
- From: Serge Wautier
- Re: How to perform an HTTP download using a script ?
- References:
- How to perform an HTTP download using a script ?
- From: Serge Wautier
- Re: How to perform an HTTP download using a script ?
- From: Adam Piggott
- How to perform an HTTP download using a script ?
- Prev by Date: Re: How to perform an HTTP download using a script ?
- Next by Date: Re: a script to add a new printer
- Previous by thread: Re: How to perform an HTTP download using a script ?
- Next by thread: Re: How to perform an HTTP download using a script ?
- Index(es):