Re: Turning on Sharing on a folder programmatically
Re: Turning on Sharing on a folder programmatically
- Subject: Re: Turning on Sharing on a folder programmatically
- From: Quinn <email@hidden>
- Date: Thu, 10 Apr 2008 10:46:39 +0100
At 18:08 +0000 9/4/08, Udupi, Pradeep Kumar wrote:
Is there any way to programmatically turn on the 'Shared Folder' property of
a folder? In Leopard, this can be turned on from Finder using Info window.
But is there a way to do it programmatically?
Not really. Ultimately, the share point information is held in the
local directory store. You could use the Directory Services API to
manipulate that information, but I can't recommend that you take that
route. There's a bunch of high-level infrastructure layered on top
of this information, and if you manipulate the raw information behind
the back of that infrastructure you're likely to run into troubles.
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.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden