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.
|
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.
|
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.
|
All times are GMT -5. The time now is 06:37 PM. |
Copyright © 1999-2023 Kinook Software, Inc.