• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URL SCRIPT ERROR CODE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: URL SCRIPT ERROR CODE (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: Rogue list?
  • Next by Date: Re: Writing large scripts
  • Previous by thread: [OFF] Re: URL SCRIPT ERROR CODE
  • Next by thread: Re: URL SCRIPT ERROR CODE
  • Index(es):
    • Date
    • Thread