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 réponse
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
répondu il y a 9 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions