Turning on Sharing on a folder programmatically
Turning on Sharing on a folder programmatically
- Subject: Turning on Sharing on a folder programmatically
- From: "Udupi, Pradeep Kumar" <email@hidden>
- Date: Wed, 9 Apr 2008 18:08:21 +0000
- Acceptlanguage: en-US
- Thread-topic: Turning on Sharing on a folder programmatically
Hi
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?
I have tried using FSSetCatalogInfo and setting the sharingFlags field to
kioFlAttribSharePointBit but I get a -1405 error which means incorrect
bitmap info set which makes me believe that field is a reserved or
unsupported bit.
Any help would be greatly appreciated. Thanks!
Regards
Pradeep
_______________________________________________
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