Error: Cannot find Zip signature at end of *.zip
ahinoamp opened this issue · 2 comments
Hi,
I just found this script and was hoping it would work for a zip file I downloaded from OneDrive but I got the above mentioned error.
The original error I got while trying to unzip using 7zip was: "unexpected end of data" or "the compresses zipped folder is invalid" from the Windows utility.
Do you have any thoughts?
Thanks,
Noe
If my code is outputting that message it means that
-
It had found the correct data at the start of the Zip file (which is good).
-
but it is missing a vital part of the zip file at the end of the file.
Is there any chance that the download was terminated early? This error suggests that the file has been truncated.
If you want to dig deeper, get a copy of zipdetails. Run the following and post the output
zipdetails yourfile.zip
If that complains about not finding signatures, run this and post the output
zipdetails --scan yourfile.zip
No updates in over a month.
Closing issue