Link to home
Start Free TrialLog in
Avatar of mdadnan
mdadnan

asked on

Another CRC check question but this time no second file to compare with.

I am related to production biz and I download important big files about 2-30MB, sent me over by my affiliates and clients. I need to get them checked using a CRC check over Delphi to check their integrity, and to verify not a bit is changed during the download. Ofcourse I don't have anyother file to compare the bytes, therefore, a brief explanation with code will be greatly appreciated.

Ad.
ASKER CERTIFIED SOLUTION
Avatar of Motaz
Motaz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mdadnan
mdadnan

ASKER

Thank you Motaz for a very brief response and I can see it IS your modified script, and you are very good at it.

But I can't compare the bytes with the server file and the files after download. There are some restrictions that I have to follow before or after download, lets say the download is encrypted, therefore your solution will not work on these terms.

Let me be brief a little on what I am looking for. Lets say I download an Mpeg file sizing about 40MB somewhere with encrypted download or from Kaaza, and there is no second file to compare with online or offline. What I am looking for is a CRC or anyother check maybe specific for file types so that I can verify its integrity and to make sure it isn't corrupted during download. A production file like a large WAV or MP3 file with a changed bit or even byte will introduce a large noise during playback.

But still you did very good with your logic. I have increased points to 100. Thanks again for all your help!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
mdadnan:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Hi!
No comment has been added lately and this question is therefore classified abandoned.

If asker wishes to close the question, then refer to
https://www.experts-exchange.com/help/closing.jsp

Otherwise, I will leave a recommendation in the Cleanup topic area that this question is:

Split between Motaz and SimesA

Please leave any comments here within the next seven days. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

...Snehanshu
EE Cleanup Volunteer
Forced accept

Computer101
E-E Admin