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 Risposta
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
ESPERTO
con risposta 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande