I have received a zip file which I can't open. In the email network header, the content-type for the document reads

text/html; charset=utf-8

but file -i and 'file' for the same file respectively read

'application/octet-stream; charset=binary' and 'Zip archive data'

When opened as an HTML, the file is some unreadable garbage, and opened as a .zip yields an error.

I think it may have something to do with the file header being incomplete. The first 8 bytes of the file have no meaningful data,

14 03 00 00 08 00 5B 82

but changing these to the header of a zip file still leads to errors. Using iconv -c -t UTF-8 also results in garbage.

How can I open this file? i have left a link for it at https://drive.google.com/open?id=1mf1UX_-Oec6cAwDs-lGqf47SejfKVCsp in case the actual file is needed.

P.S: This is what the zip -FF -li -v command gives for the file:

Fix archive (-FF) - salvage what can
 Found end record (EOCDR) - says expect single disk archive
Scanning for entries...
 Local ( 1      0):
    zip warning: Unrecognized compression method in local header:  19353
    zip warning: Skipping:  (null)
Central Directory found...
 Cen   ( 1   2724): no local entry: masterkey
EOCDR found ( 1   2779)...
    zip warning: zip file empty
New contributor
qqqwerty is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

qqqwerty is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.