A .zip or .rar file is a file that stores and compresses one or more other files. Recently, I tried downloading albums from my Flickr account, but I often received the same error message when opening the .zip file: “Unexpceted end of archive“. Very frustrating; the message was still there even after redownloading that zip file.
There is, however, a solution. This will explain the solution when using WinRar, but it should also work in other popular file archive programs. Also, this error message can appear on various archive filetypes, including .rar, .zip, .tar, .tar.gz
- Just close that error dialogue first.
- Then, in the top menu go to ‘tools‘ and choose ‘repair archive‘. (Or use Alt + R)
You will then be asked in what folder the repaired archive should be saved. Choose a folder. The archive type should be the same as the file extension of the original file (so if it is a .zip file, choose ZIP and for a .rar. choose Rar). Click OK.
Now wait until the process finishes. If everything goes well, your RAR or ZIP file should be repaired and the error message should no longer appear when opening your archive file!
Your repaired file can be found on the location you choose earlier and the name should be rebuilt.originalname.zip/.rar.