URL Access Scripting and HTTPS?
URL Access Scripting and HTTPS?
- Subject: URL Access Scripting and HTTPS?
- From: Doug McNutt <email@hidden>
- Date: Fri, 30 Mar 2001 18:58:24 -0700
Pardon me for jumping in without my usual few weeks of lurking but I did try searching the list archives on www.apple.com for things like "https <AND> URL Access" with no helpful results.
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://.
I'm on a G4 which was originally delivered with OS 9.0 Z - International English - but has been reloaded with 9.0.4 North American. OS 9.1 is available but I'm not using it because my M$Excel98 macros won't run but that's another question. I have tried the 9.1 versions of AppleScript URL Access with 9.0.4.
1) Is URL Access Scripting really supposed to do https?
2) Is it possible that my once-for-export machine somehow disables 128 bit encryption through URL Access even though Netscape is allowed to work OK?
3) Where can I go to look up the error text from the reported number? SysErrs.err doesn't get there.
*** begin sample ***
tell application "URL Access Scripting"
activate
download "
http://www.gefn.com/" to file "Luna:tmp:GEa.html" replacing yes with progress and result without unpacking
--> works fine
download "
https://www.gefn.com/unitvalues/unitvalues.jsp" to file "Luna:tmp:GE.html" replacing yes with progress and result without unpacking
--> URL Access Scripting got an error: An error of type -6986 has occurred.
--
-> From the U S of A, the only socialist country that refuses to admit it. <-