Re: URL Access Scripting and HTTPS?
Re: URL Access Scripting and HTTPS?
- Subject: Re: URL Access Scripting and HTTPS?
- From: Sander Tekelenburg <email@hidden>
- Date: Sat, 31 Mar 2001 23:29:18 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 18:58 -0700 UTC, on 30/03/2001, Doug McNutt wrote:
[...]
>
I have been told by MacPerl users that a way to access https:// web
>
pages is to send AppleEvents to URL Access Scripting. (The available
>
perl modules don't do secure sockets on the MacOS.)
>
>
But when I try a regular AppleScript prepared with the Script Editor I
>
get error -6986 whenever the URL starts with https://.
URLAccess can handle some HTTPS sites. Not all. It gets better with each new
version though. iCab relies on URLAccess for HTTPS, so you could use iCab to
first verify that the HTPS server you're trying to deal with is actually
supported by URLAccess.
On a G4, OS 9.0.4 US, AS 1.4.3, URLAccess Scripting 2.0, URLAccess extension
2.2.1, this works for me:
set theLocation to ((path to startup disk as string) & "Desktop Folder:new
file")
tell application "URL Access Scripting"
activate
try
download "
https://order.kagi.com/?NNG" to file theLocation
on error m number n
-- handle error
end try
quit
end tell
(* beware of linewraps *)
HTH
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBOsZMJOsywKfXgqKdEQIsfQCePtF4yIppOD4lZoL/YjTba+lZ37EAoKAS
jWyoli46ZTiGDF0hskk57YUE
=hZLU
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <
mailto:email@hidden>
Web site at <
http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"