If you encounter an "unexpected end of archive" error, WinRAR has a built-in Repair tool. Open the program, find the corrupt file, and click the Repair button in the toolbar. Safety Tips
To save space, select the files you want to compress, right-click, and choose "Add to archive..." , then select the RAR format. Download R,V rar
Before extracting, scan any downloaded .rar file with updated antivirus software, as archives are common vectors for malware. If you encounter an "unexpected end of archive"