<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>I am writing a program to copy one or more folder trees to a USB drive (an
extra backup regime for some Canterbury firms who were not able to get at
servers or finding their offsite backups were also inaccessible).</DIV>
<DIV> </DIV>
<DIV>I have a nice component HAHFindFile to build the list of folders and files
in a stringlist, and a routine using TFilestream to do the copy, but I was
thinking its almost certainly going to be faster and more robust if there were
an API to Windows Explorer to pass the source and destination folders to, and
some parameters (eg copy only newer).</DIV>
<DIV> </DIV>
<DIV>I read technical articles from Mark Russinovitch about how Vista and
Windows 7 optimise copying files over a network, varying the block sizes etc and
using caching so I would expect an OS-level API to be much faster.</DIV>
<DIV> </DIV>
<DIV>Does anyone know if such an API exists, and are there options to eg copy
only later files. I saw some hints in Google about a COM interface to
Windows Explorer, but no details if it has options like I am interested
in.</DIV>
<DIV> </DIV>
<DIV>Aside – I heard of one firm that had a server and a Wifi router on a UPS
that had their network guy park outside with a wifi laptop and copy stuff from
the server before the UPS died. Couldn’t go in because the the front
of the building had fallen out into the street. Thats a cool idea
for an emergency backup after the event.</DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">John</DIV>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt"> </DIV>
<DIV
style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt"> </DIV></DIV></DIV></BODY></HTML>