On Feb 20, 2007, at 10:36 AM, Guyren Howe wrote:

>> I'm trying to move a file (that exists) to a folder (that exists).
>> Both are readable and writable from the current process. The file
>> is named foo and the target directory is named foo-dir.
>>
>> OS X 10.4.8, RB 2K7r1.
>>
>> I get source.LastErrorCode = 105 (can't see that in the debugger,
>> because that would make things too easy, but I can get the property
>> on the source folderItem). The docs say that means "Invalid name".
>> Of course, they don't say anything more than that, because that
>> would be too helpful.
>>
>> The *file system* thinks the names of these things are fine.
>
> Addendum: tried CopyFileTo, and got the same error.

Turns out "Invalid name" means "There's a file where you're trying to  
move it with the same name".

D'Oh!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to