How to solve CRC error in winrardecompressing

Source: Internet
Author: User

WinRAR can be said to be the most popular compression software now, And the limelight gradually overwrites the old WinZip! Ultra-high compression ratio, easy-to-use interface, and powerful functions ...... But I don't know if you have ever encountered such a situation: I 've worked so hard to download hundreds of megabytes of RAR compressed files from the Internet. When the positive solution is pressed, a pop-up dialog box is displayed to surprise you! Tell you something went wrong ......

Identify error cause
The error message is "CRC failed to encrypt the file (Password error ?)" (The RAR compressed package has a password, but the password is entered incorrectly or the password is entered correctly, but the cyclic redundancy check code (CRC) is incorrect! Only because the RAR package has a password, WRAR guessed that it may be "Wrong Password ")

Distinguish the two methods above: if the password is incorrect, it cannot decompress any file! However, if the compressed package contains multiple files and some files are extracted, it should be because the RAR compressed package contains a cyclic redundancy check code (CRC) error instead of a password input error.

Cyclic Redundancy check code (CRC) error, which is the most common situation, this is also the focus of this article! Unlike the preceding decompression errors, this error is related to the RAR compressed package corruption.

There are several reasons:
(1) Poor network transmission conditions (for example, too many broken lines, too many open threads, too many servers, and too many connections) lead to damage to the downloaded files!

(2) The RAR package provided by the site is damaged (this is impossible, unless the package contains a reply record ).

(3) The downloading tools used are incomplete. For example, some download Tools run several more threads, and The downloading process is slow. Sometimes, when the data is downloaded to 99% hours, the data will not be transmitted, you must manually stop the download before starting the download ). I have encountered this situation several times. The result is a CRC error after the file is downloaded and decompressed to the end.

Emergency Solution
1. Use recovery records
To fix CRC, you must have a recovery record in this RAR package, which is optional when the RAR package is compressed.

The restoration record is not placed by default during WinRAR compression. If such a RAR package is provided, it is impossible for the user to fix the CRC error.

2. Pay-as-you-go
If the files in the RAR package are normal or normal even if they are missing (in fact, most files are not very sensitive to some data corruption ), then we can make our ultimate killer: pay-as-you-go!

The principle is to decompress corrupted files in the RAR Archive without the WinRAR warning. The decompression software still uses WinRAR, but a small setting is required.


Right-click the decompressed file and select the "retain damaged file" check box and click "OK" to start decompressing the file. Ignore the information about the decompression error. After decompression, you will find that the damaged file has been decompressed. The probability of normal use of damaged files decompressed in this way is very high.

Do a good job in insurance
1. Make recovery records
When the original RAR compressed package is compressed, if you choose to place the recovery record, the user will have the chance to fix the CRC error even after the download!

2. volume-based compression
Using the volume compression method can greatly reduce the loss caused by unrecoverable errors.

3. Add recovery records to old files
Someone may ask, the newly compressed RAR package can be added with the recovery record. Is there any way to add the recovery record to the compressed RAR package? There is a way to add recovery records to the compressed RAR compressed package.

You only need to open the compressed file, and select "protect file" in the "command" menu.


TIPS:
In fact, the main solution to RAR compressed package errors is prevention! If there is no prevention, there will be no technical solution when a real problem arises! In the case of a cyclic redundancy checksum (CRC) error, if the RAR compressed package does not contain a recovery record, it is impossible for the user to fix the CRC himself! The main purpose of this article is to tell you the cause of the error and discuss some ways to fundamentally prevent the error and minimize the loss!
<---->

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.