FROM : Jonathan Dann
DATE : Sat May 31 23:33:41 2008
On 31 May 2008, at 17:37, Torsten Curdt wrote:
>
> 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
Thanks Torsten that works, just feels like a hack as I have to use
another method to generate a filename that isn't in the working
directory.
Jon
DATE : Sat May 31 23:33:41 2008
On 31 May 2008, at 17:37, Torsten Curdt wrote:
>
> 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
Thanks Torsten that works, just feels like a hack as I have to use
another method to generate a filename that isn't in the working
directory.
Jon
| Related mails | Author | Date |
|---|---|---|
| Jonathan Dann | May 31, 18:27 | |
| Torsten Curdt | May 31, 18:37 | |
| Jens Alfke | May 31, 19:17 | |
| Jonathan Dann | May 31, 23:33 | |
| Jonathan Dann | May 31, 23:35 | |
| stephen joseph but… | May 31, 23:51 | |
| Jonathan Dann | Jun 1, 00:35 |






Cocoa mail archive

