file.mountServerVolume
| Syntax |
file.mountServerVolume (networkPath, username, password)
|
| Params |
networkPath is a string containing the network address of the volume, containing the zone name, server name, and volume name separated by colons. username is the user name with which you want to log on to the server. password is the password associated with username.
|
| Action |
Locates and mounts the specified volume.
|
| Returns |
True if the volume is found on the network and is mounted successfully.
|
| Examples |
file.mountServerVolume ("*:Mac IIsi:Shared Folder", "sysop", "uguessit") » true
The volume named "Shared Folder" on the machine named "Mac IIsi" on the local zone was mounted.
The volume "Hacks" was mounted with guest privileges. See Notes. |
| Errors |
If the server at networkPath cannot be found, or if the username or password is invalid, an error will occur.
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
To log on as Guest, pass the empty string for both username and password. To specify the local zone in networkPath, use the '*' character, as in the first example above.
|
| See Also |
file.unmountVolume
|