• 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
Connect to server - list of shared volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Connect to server - list of shared volumes


  • Subject: Connect to server - list of shared volumes
  • From: Dragan Milić <email@hidden>
  • Date: Fri, 21 Oct 2011 15:41:49 +0200

Hello,

This may not be strictly related to Cocoa, but I'm willing to use any API that can serve the purpose and perhaps something like that exists in Cocoa, I just don't know of it.

So, I want to mount shared volume(s) that reside on the same server. I use FSMountServerVolumeAsync() function, supplying it the URL of the server, as one of arguments. As I understand, this function loads and runs the appropriate URLMount plug-in, which structure is private. If there are move mountable volumes connected to the server, this plug-in automatically presents a modal panel with the list of all available servers and allows user to choose which one to connect to.

I want to skip this "magic" provided by the API and to create this list of available mountable volumes myself (e.g. I may choose to exclude some from the list or do something else). Is there a public way to retrieve a list of mountable volumes connected to the server, which full URL is known? If not, I'll be also satisfied if I can do it in undocumented way, using any private API.

Thanks,
-- Dragan
_______________________________________________

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

  • Follow-Ups:
    • Re: Connect to server - list of shared volumes
      • From: Dragan Milić <email@hidden>
  • Prev by Date: Re: Core Data: Determine if managed object is deleted
  • Next by Date: Re: playing a streamed audio file
  • Previous by thread: Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
  • Next by thread: Re: Connect to server - list of shared volumes
  • Index(es):
    • Date
    • Thread