🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9895

Re: SHFileOperation - Question

#9895
From: Andrue Cope
Date: Thu, 03 Jun 2004 08:43
20 lines
1764 bytes
On Wed, 02 Jun 2004 17:00:04 -0700, Bob Gonder wrote:

> Once I've copied a couple files, (MB/sec is tricky when MB is small)
> the rest copy in the desginated time (pretty close).

Two things can seriously throw the calculation in my experience:Copying
subdirectories and copy across a network. Nonetheless the OS provided
estimate is appallingly bad.

I have a windowed XCopy replacement that uses up to five threads to read
the source and one to do the writing. Its completion estimate is usually
quite accurate. It certainly puts MS' estimate to shame.

The only problem with that app. is that since it copies files byte-by-byte
it can be slower if both the source and destination are compressed. I just
haven'd had the time or inclination to look into that. I think I'd have to
change to using CopyFileEx() to get round that.
-- 
Andrue Cope
[Bicester UK]
Technical Details
Message-ID: <43nfl0d0ek38.1nap1glfteqhb$.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40bdb13e@newsgroups.borland.com> <1m1nvj6lbffpw.ufpbxtniolsi.dlg@40tude.net> <kmpsb01vcrfboa8ehn7s2dev7tkubfljf8@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,acf999c4e1362fc6
X-Google-Attributes: gid10cc67,public
From: Andrue Cope <no.spam@spammy.com>
Subject: Re: SHFileOperation - Question
Newsgroups: borland.public.cppbuilder.nativeapi
User-Agent: 40tude_Dialog/2.0.12.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <40bdb13e@newsgroups.borland.com> <1m1nvj6lbffpw.ufpbxtniolsi.dlg@40tude.net> <kmpsb01vcrfboa8ehn7s2dev7tkubfljf8@4ax.com>
Date: Thu, 3 Jun 2004 09:43:07 +0100
Message-ID: <43nfl0d0ek38.1nap1glfteqhb$.dlg@40tude.net>
NNTP-Posting-Host: 217.207.223.34
X-Trace: newsgroups.borland.com 1086252276 217.207.223.34 (3 Jun 2004 01:44:36 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail