• 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
Re: Temporary files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Temporary files


  • Subject: Re: Temporary files
  • From: Martin Hairer <email@hidden>
  • Date: Wed, 11 Oct 2006 10:18:06 +0100

Pass the vRefNum of the volume of pathA and a folder type of kChewableItemsFolderType. (To get a vRefNum from a path, call FSPathMakeRef and then use FSGetCatalogInfo.)
Be prepared for this to fail on some volumes, though. For example, on a network volume, you won't have a chewable folder. And I believe on some volumes you may find that you don't have write permission to chewable.

Thanks for all the feedback. I'll get down that route with the fallback of just using the
folder of pathA if I don't find a chewable or temp files folder on the same volume.
Regards,


Martin

HairerSoft
http://www.hairersoft.com/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Temporary files (From: Martin Hairer <email@hidden>)
 >Re: Temporary files (From: John Stiles <email@hidden>)

  • Prev by Date: Re: WhackedTV - Adding Video Overlay (photoshop image with mask)
  • Next by Date: NSUndo & TextStorage limitation
  • Previous by thread: Re: Temporary files
  • Next by thread: NSCalendarDate saving and loading to get the same date-time (Floating Timezone)
  • Index(es):
    • Date
    • Thread