realbasic-nug
[Top] [All Lists]

Re: CopyFileTo Speed

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: CopyFileTo Speed
From: James Sentman <james at sentman dot com>
Date: Tue, 30 Jul 2002 17:29:17 -0400
The Win32 folder item code calls straight thru to the system, so any
slowdown that occurs there will occur with any other application on Windows.
_Shouldn't_ be an issue there with just using CopyFileTo.

Ok. Thanks for the hint. Although I feel pretty bad to deliver
a worse performance on the Mac than on win32. ;-)

if you're on MacOSX you can do a shell call to the "ditto" program and as long as you pass the -rsrcFork option it will preserve all the Mac specific stuff. This is part of the standard Mac OSX install and does not require the developer tools. It does require the BSD subsystem stuff, but that is part of the standard install now too, but people may have unchecked it during a fresh OS install...

-James
--
_____________________________________________________________________________
James Sentman <james at sentman dot com>                      
http://www.sentman.com
 Enterprise server monitoring for Mac OS X:  http://whistleblower.sentman.com


<Prev in Thread] Current Thread [Next in Thread>