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

asked 8 months ago483 views
1 Answer
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
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions