#1
|
|||
|
|||
Verification of copy action?
Is there any verification possible during the copy file action to verify that the file copied successfully? I could write a checksum routine around the copy action, I suppose, but I'd prefer to know that the built-in copy command already has some sort of verification built-in, and won't register a successful completion unless it's verified good.
|
#2
|
|||
|
|||
The Copy Files action uses the Windows CopyFileEx API to copy files (which I suspect is also used by xcopy, cmd.exe, Explorer, RoboCopy, etc.). I'm pretty sure that function will not return a success code if the file was not properly copied.
|
#3
|
|||
|
|||
Alternatively, use RoboCopy (Click here for more info) (available from the Windows Resource Kit) and run it as a Run Program step. The command line is a bit odd but it will perform verified copies.
Last edited by DuncanL; 10-10-2008 at 05:04 AM. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|