• 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: X 10.1 Mount volume syntax: afp version works, but not old version (error type 1) ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X 10.1 Mount volume syntax: afp version works, but not old version (error type 1) ??


  • Subject: Re: X 10.1 Mount volume syntax: afp version works, but not old version (error type 1) ??
  • From: Timothy Bates <email@hidden>
  • Date: Tue, 23 Oct 2001 23:01:51 +1000

On 23/10/01 9:15 PM, "Bill Cheeseman" <email@hidden> wrote:
> on 10/23/01 4:09 AM, Timothy Bates at email@hidden wrote:
>> this works fine under 10.1:
>> mount volume "afp:/at/myserver:zone/mydrive" as user name "tim" with
>> password "youwish"

>> but this fails with "error 1":
>> mount volume "mydrive" on server "myserver" in AppleTalk zone "zone" as user
>> name "tim" with password "youwish"

> The "/at/" form is new, required syntax. The old syntax doesn't work. (That
> sounds like I'm just repeating what you said. But it's deliberate on Apple's
> part, and that's the way it's supposed to be, as I understand it.)

Hmm. I guess they want to allow the old syntax to compile so that pre 2001
scripts don't turn into gobbledegook. Yucky, but good to know,

I guess I cannot see why the volume/server/zone syntax cannot just be
internally parsed into "afp/at/" format internally and then execute
correctly under OS10.1. My only reason for wanting that is that I unlike
http:// which is reinforced everyday, I cannot remember "afp:/at/",
especially with the cunning :zone element.

Also, I notice that most functions now return uninformative error numbers
(like error 1) instead of helpful english.

Other examples are
-1756 (approx)
instead of "cannot copy - file already exists"

Anyhow, thanks for your assistance Bill,

tim


References: 
 >Re: X 10.1 Mount volume syntax: afp version works, but not old version (error type 1) ?? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: hash arrays and other mysteries
  • Next by Date: Re: copy & set statements
  • Previous by thread: Re: X 10.1 Mount volume syntax: afp version works, but not old version (error type 1) ??
  • Next by thread: AppleScript to get UserName!??
  • Index(es):
    • Date
    • Thread