Re: Temporary files
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