• 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
Turning on Sharing on a folder programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Turning on Sharing on a folder programmatically
      • From: Quinn <email@hidden>
  • Prev by Date: Re: disable Trash, Spotlight and fsevents on all optical (udf) discs
  • Next by Date: Re: Turning on Sharing on a folder programmatically
  • Previous by thread: Re: disable Trash, Spotlight and fsevents on all optical (udf) discs
  • Next by thread: Re: Turning on Sharing on a folder programmatically
  • Index(es):
    • Date
    • Thread