What is the best way to create and validate an MD5 file fingerprint?
- From: mark4asp <mark4asp@xxxxxxxxx>
- Date: Tue, 23 Jan 2007 13:01:04 +0000
I want to use WMI to create an MD5 fingerprint for a large file (>= 50
Mb).
How should I go about it?
I know of 3 (freeish) controls I can use:
1) http://www.slavasoft.com/porderandprice.htm
QuickHash Library 3.0 1 License = $149.95, but unlicensed use is
premitted - giving a 10 second program delay. The program is a dll,
it comes with comprehensive chm help
2) RSP Checksum OCX http://rspsoftware.clic3.net
340KB License: Free to try, $50(US) to buy. I haved looked
into the restrictions on this. This program is an ocx with basic chm
help
3) XStandard's MD5 Checksum Component, http://www.xstandard.com
This one is actually freeware. It's a dll with very basic
documentation (there are only two calls which can be made to it), but
they do give an ASP example in VBScript.
Alternatively, I can use ASP.NET 2.0 MD5 library.
Can someone who is more knowledgable tell me which is the easiest.
All I need to do is, backup my database, compute the MD5 checksum.
Save it to a file, FTP both the file and checksum and the recompute to
validate the file integrity. If there's an error I'll send myself an
email. This needs to be done periodically, once a week.
Apart from referencing the MD5 component I'm confident I can write the
two WMI scripts I need.
I'm inclined to go with the XStandard dll, as I have the example of
how to call their dll - unless someone will recommend a different
route.
.
- Follow-Ups:
- Prev by Date: Re: Cannot create WshNetwork object - please help
- Next by Date: Re: WSH Bible?
- Previous by thread: Script to Remote Monitor
- Next by thread: Re: What is the best way to create and validate an MD5 file fingerprint?
- Index(es):
Relevant Pages
|