Home All Groups Group Topic Archive Search About
Author
23 Mar 2009 2:23 PM
Phil Hunt
I have a bunch of  "client PC" that copy a file from the "Server" using
CopyFile API. If I put the file in a "Compressed" folder on the server and
clients, is CopyFile smart enough to Not decompress and compress to the
destination folder? I don't know of a way to observe the behavior, do you ?

Thanks

Author
23 Mar 2009 3:23 PM
Jim Mack
Phil Hunt wrote:
> I have a bunch of  "client PC" that copy a file from the "Server"
> using CopyFile API. If I put the file in a "Compressed" folder on
> the server and clients, is CopyFile smart enough to Not decompress
> and compress to the destination folder? I don't know of a way to
> observe the behavior, do you ?

If the file is highly compressible, and you're transferring across the
wire, you could obverve the "bytes transferred" metric from PerfMon. A
distinctly smaller number would indicate that it's copying compressed.

I've never checked it, but I doubt that it does. Too many possible
confounding factors.

--
   Jim Mack
   Twisted tees at http://www.cafepress.com/2050inc
   "We sew confusion"