Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- NSString* tempDir = NSTemporaryDirectory();
- NSString* tempDirFolder = [tempDir stringByAppendingPathComponent:@"FinaleTempFiles"];
- NSError* theError = nil;
- BOOL fileOK = [[NSFileManager defaultManager] createDirectoryAtPath:tempDirFolder withIntermediateDirectories:NO attributes:nil error:&theError ];
- if ( !fileOK )
- NSLog(@"createDirectoryAtPath %@", [theError localizedDescription]);
- }
- 2013-05-31 18:52:46.830 mdimport[43160:707] createDirectoryAtPath You don’t have permission to save the file “FinaleTempFiles” in the folder “T”.
Add Comment
Please, Sign In to add comment