It may be that you are trying to rename the file to the name of the directory that already exists. Just a guess. Severin
On Feb 20, 2007, at 10:41 AM, Dennis Birch wrote: > On 2/20/07, Guyren Howe <[EMAIL PROTECTED]> 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. >> >> Any suggestions? > > Have you found that the move actually fails? I'm only asking that > because I've run into situations where I've gotten an error on a > folderitem method -- which triggered my error trapping code -- but the > move/copy/delete succeeded. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
