Dear programmers,
I would like to know if and how I can detect when a file is corrupt (e.g. power down while file was being copied). I thought the function CopyFile() would fail in that case, but that was not the case. I did the following test: I took a very big file and copied it to a specific location. While copying I unplugged the power switch hoping the file would be corrupt. Unfortunately CopyFile() just copies the incorrect file without any problems...
Thx in advance,
RaKKeR
I would like to know if and how I can detect when a file is corrupt (e.g. power down while file was being copied). I thought the function CopyFile() would fail in that case, but that was not the case. I did the following test: I took a very big file and copied it to a specific location. While copying I unplugged the power switch hoping the file would be corrupt. Unfortunately CopyFile() just copies the incorrect file without any problems...
Thx in advance,
RaKKeR