md5hash performance with big files for check copy files in shared folder

Posted by alhambraeidos on Stack Overflow See other posts from Stack Overflow or by alhambraeidos
Published on 2010-05-21T15:07:10Z Indexed on 2010/05/21 15:10 UTC
Read the original article Hit count: 279

Filed under:
|
|
|
|

Hi all,

My app Windows forms .NET in Win XP copy files pdfs in shared network folder in a server win 2003.

Admin user in Win2003 detects some corrupt files pdfs, in that shared folder.

I want check if a fileis copied right in shared folder

Andre Krijen says me the best way is to create a MD5Hash of original file. When the file is copied, verify the MD5Hash file of the copied one with the original one.

I have big pdf files.

apply md5 hash about big file, any performance problem ??

If I only check (without generate md5 hash) Length of files (original and copied) ??

Thanks in advanced.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about Performance