[FR]File::copyFileTo using CopyFileEx on WINDOWS

Just throwing it out there…

CopyFileEx gives the option to have a CopyProgressRoutine callback for a progress bar.

This is for an installer where I’m copying signed content.

(BTW - On Mac I can use File:getSize() while a file is being copied via a separate process to monitor the progress).

Cheers,

Rail

BTW - I’ve implemented this as a free callback function and passed it a pointer to my class and it works well… the nice addition is that CopyFileEx also allows us to use the COPY_FILE_NO_BUFFERING flag.

Cheers,

Rail

Bumping this.

Rail