Re: Possible Bug in NSFileManager -moveItemAtPath:toPath:error:
Re: Possible Bug in NSFileManager -moveItemAtPath:toPath:error:
- Subject: Re: Possible Bug in NSFileManager -moveItemAtPath:toPath:error:
- From: Torsten Curdt <email@hidden>
- Date: Sat, 31 May 2008 18:37:48 +0200
On May 31, 2008, at 18:27, Jonathan Dann wrote:
Hi Guys,
Just a quick one. I would expect renaming a file named HELLO.TXT to
hello.txt (or another variant where the case of a few letters
change) with -moveItemAtPath:toPath:error: to be allowed. As it is
not (it generates an NSFileWriteUnknownError) is this a bug or just
me? If not, is there are more appropriate API for renaming files?
Have you tried:
HELLO.TXT -> something
something -> hello.txt
Just a thought ....maybe it's related to the filesystem no being case-
sensitive.
cheers
--
Torsten
_______________________________________________
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