M
Mike
In an effort to understand the security and correctness
implications of using the COPY_FILE_RESTARTABLE flag in
CopyFileEx, I'd like to know the following:
If a file is partially copied, the source gets modified,
and then CopyFileEx (COPY_FILE_RESTARTABLE) is called
again, will it detect that the file source is different
and restart at the beginning?
If a file is partially written prior to a failure, and not
successfully completed, what is the state of the
destination file? Is there a partial file there? If there
was a previous file with that name, will it be deleted?
implications of using the COPY_FILE_RESTARTABLE flag in
CopyFileEx, I'd like to know the following:
If a file is partially copied, the source gets modified,
and then CopyFileEx (COPY_FILE_RESTARTABLE) is called
again, will it detect that the file source is different
and restart at the beginning?
If a file is partially written prior to a failure, and not
successfully completed, what is the state of the
destination file? Is there a partial file there? If there
was a previous file with that name, will it be deleted?