On 18 Aug 2006, at 16:32, Charles Calvert wrote:
All,
Using RB2006r3. Developing on WinXP but deploying on OSX.
I need to copy a folder hierarchy containing a large number of sizable
files. Using FolderItem.CopyFileTo is too slow. Which API function
should I use? I found PBHCopyFileSync, but according to this post by
Thomas Reed, it doesn't handle HFS+ filenames correctly
(http://support.realsoftware.com/listarchives/realbasic-nug/2003-08/
msg01851.html).
Also, can you point me to a code sample showing how to use the
function? I have no experience with Carbon or Cocoa.
dim sh as new Shell
sh.execute "cp -R "+sourceDirectory.shellpath+"
"+destinationDirectory.shellpath
Untested, but should work, maybe I left out a few parameters of the
shell, check the language reference.
Best regards
Peter De Berdt
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>