• 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: Mounting AFP Volume using Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mounting AFP Volume using Cocoa


  • Subject: Re: Mounting AFP Volume using Cocoa
  • From: Mike Abdullah <email@hidden>
  • Date: Fri, 18 Apr 2008 13:01:28 +0100


On 18 Apr 2008, at 12:52, JanakiRam wrote:

Hi Jens,
Thanks for the reply.

Can you provide some pointers on using FSVolumeMount API or some
CoreServices API.

If no API is available , then how Finder is able to connect to afp volume
using Connect to Server (Cmd+K). Any pointers on these is greatly
appreciated.


-JanakiRam.

Well the Finder almost certainly uses the aformentioned FSMountVolume APIs. This is probably a good starting point:


http://developer.apple.com/documentation/Carbon/Reference/File_Manager/Reference/reference.html#/ /apple_ref/c/func/FSMountServerVolumeSync



On Fri, Apr 18, 2008 at 11:53 AM, Jens Alfke <email@hidden> wrote:



On 17 Apr '08, at 1:19 PM, JanakiRam wrote:

Is there any cocoa way to mount a volume silently by passing the user
name and password.


There is no Objective-C API; you'll have to use either CoreServices or
POSIX APIs.
I would look at the FSVolumeMount function.


—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Mounting AFP Volume using Cocoa (From: JanakiRam <email@hidden>)
 >Re: Mounting AFP Volume using Cocoa (From: Jens Alfke <email@hidden>)
 >Re: Mounting AFP Volume using Cocoa (From: JanakiRam <email@hidden>)

  • Prev by Date: Re: Mounting AFP Volume using Cocoa
  • Next by Date: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Previous by thread: Re: Mounting AFP Volume using Cocoa
  • Next by thread: Re: Mounting AFP Volume using Cocoa
  • Index(es):
    • Date
    • Thread