• 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: Mount remote volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mount remote volume


  • Subject: Re: Mount remote volume
  • From: James Cass <email@hidden>
  • Date: Sun, 12 Sep 2004 07:15:44 -0400

Here's another alternative that I use:
For smb shares:
Syntax: mount volume "smb://WorkGroup;userName:password@ipaddress/VolumeName"
Example: mount volume "smb://Accounting;SteveJobs:email@hidden/Payroll"
......Of course, there aren't any Windows servers at Apple ;-P


For afp shares:
mount volume "afp://userName:password@serverName/VolumeName"
mount volume "afp://SteveJobs:iceo1@ArtServer/Marketing"

Hope this helps...James


On Sep 11, 2004, at 11:43 AM, John C. Welch wrote:

On 9/10/04 9:12 PM, "Larry McMunn" <email@hidden> wrote:

I need a little help with mounting a server volume. The following script
brings up the "Select the volumes you wish to mount" window. I need to
automatically mount the volume and bypass this dialog. I have tried using the
server name rather than IP address, but that doesn't even get me to the
"Select volume..." window.



mount volume "afp://TheVolumeName" on server "000.000.0.00" as user name
"MyUserName" with password "MyPassword"

It's a little unclear...with afp urls, you'd do:

mount volume afp://dnsnameofserver/sharename as user name "foo" with
password "bar"

As it says in the dictionary, you don't need the on server if you put it in
the URL as you should with AFP URLs.


john

-- My mom is a professional botanist, or, as her spousal equivalent described
it, they'll be out hiking in the woods, she'll see a plant off by the side
of the trail, run up to it, bend down, and start talking Latin at it.
-- Steve VanDevender



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Mount remote volume (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Re: Portability of the "Every Application Library"
  • Next by Date: Re: Percentage Math help for a Script
  • Previous by thread: Re: Mount remote volume
  • Next by thread: Re: Mount remote volume
  • Index(es):
    • Date
    • Thread