Re: Mounting network resources
Re: Mounting network resources
- Subject: Re: Mounting network resources
- From: Quinn <email@hidden>
- Date: Wed, 16 May 2007 20:31:33 +0100
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:
This email sent to email@hidden