Re: More NSFileManager Issues

2012-10-29 Thread Andreas Grosam
On 29.10.2012, at 12:30, Mike Abdullah wrote: > > On 29 Oct 2012, at 09:56, Andreas Grosam wrote: > >> I do have even more weird issues with NSFileManager: >> >> >> With NSFileManager I've created a file in the temporary directory. >> Attempting to delete it, fails: >> >> NSFileM

Re: More NSFileManager Issues

2012-10-29 Thread Mike Abdullah
On 29 Oct 2012, at 09:56, Andreas Grosam wrote: > I do have even more weird issues with NSFileManager: > > > With NSFileManager I've created a file in the temporary directory. Attempting > to delete it, fails: > >NSFileManager* fm = [[NSFileManager alloc] init]; >NSLo

Re: More NSFileManager Issues

2012-10-29 Thread Andreas Grosam
On 29.10.2012, at 11:22, Vincent Habchi wrote: > Since I am here… > > Le 29 oct. 2012 à 10:56, Andreas Grosam a écrit : > >> With NSFileManager I've created a file in the temporary directory. >> Attempting to delete it, fails: >> >> NSFileManager* fm = [[NSFileManager alloc] init];

Re: More NSFileManager Issues

2012-10-29 Thread Vincent Habchi
Since I am here… Le 29 oct. 2012 à 10:56, Andreas Grosam a écrit : > With NSFileManager I've created a file in the temporary directory. Attempting > to delete it, fails: > >NSFileManager* fm = [[NSFileManager alloc] init]; >NSLog(@"tmp file: %@", [_input1000 path]); >

Re: More NSFileManager Issues

2012-10-29 Thread Andreas Grosam
On 29.10.2012, at 10:56, Andreas Grosam wrote: The line if ([fm fileExistsAtPath:[_input1000 path] isDirectory:&isDirectory] || isDirectory) { should read if ([fm fileExistsAtPath:[_input1000 path] isDirectory:&isDirectory] && !isDirectory) { of course. But the issue

More NSFileManager Issues

2012-10-29 Thread Andreas Grosam
I do have even more weird issues with NSFileManager: With NSFileManager I've created a file in the temporary directory. Attempting to delete it, fails: NSFileManager* fm = [[NSFileManager alloc] init]; NSLog(@"tmp file: %@", [_input1000 path]); BOOL isDirecto