Re: URL SCRIPT ERROR CODE
Re: URL SCRIPT ERROR CODE
- Subject: Re: URL SCRIPT ERROR CODE
- From: Christopher Nebel <email@hidden>
- Date: Wed, 9 May 2001 12:24:55 -0700
On Wednesday, May 9, 2001, at 07:22 AM, Doug McNutt wrote:
When I run this script I get an URL Access Scripting error of type
-3170.
set this_URL to
"ftp://user/name:email@hidden/firstfolder/secondfolder/"
I have NEVER been able to decode error types involving URL Access.
Anybody at Apple listening?
Mac OS has proliferated error codes over the years, but there's never
been any reliable error-to-string translation. (Well, that's not quite
true. MPW had a library to do it, but I don't know of any application
that ever used it.)
In the meantime, your best bet is to grab one of the various
error-code-lookup utilities, or get a copy of MacErrors.h from my iDisk
page (
http://homepage.mac.com/c.nebel). It says -3170 is
"XTI2OSStatus(TBADNAME) A bad endpoint name was supplied." I'm not sure
that's any more useful than -3170, though.
--Chris Nebel
AppleScript Engineering