Re: X 10.1 Mount volume syntax: afp version works, but not old version (error type 1) ??
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