At 6:14 PM -0600 3/26/07, [EMAIL PROTECTED] wrote:
>On Mar 26, 2007, at 23:38 UTC, Steve Upton wrote:
>
>> The copy works fine but folderitem.CopyFileTo doesn't return the
>> final folderitem so I have to make it up.
>
>Well, you can give it exactly the final folderitem you want it to be
>(make destFile the actual file rather than a directory).

yeah, thought about this one, but actually want it to work with the original 
file name...

> > I used tempFolder.child(originalFile.name) but it doesn't find the
>> file because the long filename (Mac OS 10.4.x) gets truncated.
>
>It should be TrueChild, not Child, and what do you mean the long
>filename gets truncated?  File and TrueFile have supported long file
>names for ages.  I'm sure I would have noticed if this were broken...
>Can you demonstrate this in a simple example?  Or, are you using some
>ancient version of RB?

no, recent...  Rb '07r1

Here's the actual path information:

Original filename: CX default cal 9_16_05-4270D40.icc
Filename in RB   : CX default cal 9_16_0#7B558.icc

It copies over just fine but, as you can see, I don't have access to the 
correct file name, so I can't directly access the file. I can hunt through the 
folder using .item, etc but I want something that's going to work in general 
use.

I'll try TrueChild but I don't think that's the issue do you?

Regards,

Steve


-- 

_______________________________________________
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