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

已提問 9 個月前檢視次數 502 次
1 個回答
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
專家
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南