posted 13 years ago
If there is a network disconnect during the copy operation, there typically will be an I/O error thrown; make sure that your code that does the copying properly handles the I/O error.
For subtler errors, probably the best thing would be to get the checksum of the file before copying and again after copying; if the checksums don't match, an error occurred in the copy process.
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.