Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mounting network resources



At 20:26 +0100 16/5/07, Dr.Ian Silvester wrote:
I am developing a filesystem browsing app, and am intending to use NSLStandardGetURL to discover resources. Having searched around the 'net and Developer Connection, I cannot find info on how to mount the resource once selected. Am I expected to use mount or smbmount and handle it myself from there on in, or is there a network resource mounting API I haven't yet found?

Use FSMountServerVolumeSync or FSMountServerVolumeAsync, both declared in "Files.h" (in CarbonCore framework in CoreServices framework).


Please don't tell me to use Bonjour - I'd like to know the tried-and-tested method.

Ah um, Bonjour is not related to mounting volumes. Bonjour is a service registration and discovery technology. It lets you register services on the network and discover them from other machines. You can browse for file servers using Bonjour, but once you've found a server you still have to mount it. And you'd do that using the above-mentioned APIs.


S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Mounting network resources (From: Dr.Ian Silvester <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.