 |
 |
AppleScript, MacOS 9.1, AppleShare server connections
|
 |
|
 |
|
Casey
|
|
In MacOS 9.04, you can use the Standard Addition's "mount volume" command to connect to AFP servers via AppleScript. Under 9.1, things don't work so well. Here's the command:
Code:
mount volume "afp://afpser.domain.edu/mountpoint" as user name "user" with password "pass"
What worked under 9.0 and 9.04 (and under 8.0 to 8.6 using the MountIP OSAX), gives a "Network file permission error" under 9.1.
Has anybody else found this? Has anybody figured out a work around?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 1999
Location: Georgetown, Demerara, Guyana
Status:
Offline
|
|
Hi Casey,
There have been some reports that, under Mac OS 9.1, all five Security libraries (in your System Folder's Extensions subfolder) must be enabled for the 'mount volume' command (and many other commands in 9.1's Standard Additions OSAX) to work properly. This is probably because of the changes that Apple made to 'mount volume' for Keychain support. However, apparently even with all of them enabled, certain kinds of servers still might not mount (e.g., netatalk)... Anyway, I guess you could try enabling them if they're currently disabled.
For example, see Timothy Wilkinson's post of Feb 14, 2001 7:51 in the Mount command thread over in Apple's own AppleScript Discussions Forum. That thread also covers Mac OS 9.0.x, so it contains various other proposed workarounds which might or might not work for 9.1, such as:- incorporating the user-name and password into the URL string itself, i.e., '("afp://" & theUser & ":" & thePass & "@" & "afpser.domain.edu/mountpoint")'.]
Regards, and good luck,
--Paul
[This message has been edited by Paul Crawford (edited 03-17-2001).]
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Mar 2000
Location: Salem, OR, USA
Status:
Offline
|
|
This happend to us at work and was the big emergency for two days. What I did was to replace the "standard editions" file in 9.1 with one from 9.0
That fixed it.
At the time of the upgrades I was hoping Apple would release a fix for it. They didn't back then and I haven't cared to check it out since. Maybe Apple has an AppleScript update posted.
-numero
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|