realbasic-nug
[Top] [All Lists]

CopyFileTo Speed

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: CopyFileTo Speed
From: Roland Voegtli <voegtli at sanwnet dot ch>
Date: Tue, 30 Jul 2002 21:06:47 +0200
G'day gentlemen.

I have a quick question about the speed of FolderItem.CopyFileTo.
I want to copy around 50 megs in 6 files at startup of the
app (backing up database files, if user desires). If I copy
these files on OS X 10.1.5 (PB G4/550) the Finder needs around
10 seconds to do the job.

If I use "sourceFile.CopyFileTo targetFolder", the compiled
app requires for the same job 110 seconds. And the HD is making
noises like it's moving bazillions of terrabytes...

Is this method supposed to be so slow, or am I doing something
terribly wrong?

Best regards
Roland


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