error when unzip file in CloudShell

0

When using unzip filename.zip in AWS Cloudshell, customer has this error: Archive: filename.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of filename.zip or filename.zip.zip, and cannot find filename.zip.ZIP, period.

I can unzip this filename.zip in my AWS CloudShell without any issues.

Please help to solve this error

1 Antwort
0

The target file may not be recognized as a zip file.
Where did you create the ZIP file?
If it was created outside of CloudShell, it may have been corrupted when the ZIP file was uploaded or downloaded, so you may want to try downloading it again.

profile picture
EXPERTE
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen