Check ability to write to nonexistent directory
Check ability to write to nonexistent directory
- Subject: Check ability to write to nonexistent directory
- From: Mitchell Livingston <email@hidden>
- Date: Fri, 18 Jan 2008 12:11:51 -0500
Hello,
I would like to be able to use a function similar to NSFileManager's
isWritableFileAtPath: to determine if I can write to a certain
directory, but in this case the folder might not exist yet. For
example, a Download folder in Documents might not exist, but i would
like to be able to pass in the path and see 1. if it does exist, can I
write to it/read from it? 2. if it doesn't exist, can if be created,
and then can I write to it? Is there a function for this?
Cheers,
Mitch
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden