2017-07-17, 03:17 PM
Environment being used is Ubuntu on EC2 and Linux on EC2.
Tried on different AWS EC2 instances, downloads well but then does not unzip.
Just to check I downloaded a zip file from another site and it unzips well, so AWS EC2 should not be the issue.
Commands I tried with
1. curl https://www.mybb.com/download/latest -o mybb.zip
and then
unzip mybb.zip "Upload/*"
2. wget --content-disposition https://www.mybb.com/download/latest -O mybb.zip
unzip mybb.zip "Upload/*"
It Downloads well and the error that occurs on unzip command is -
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.
Please help resolve.
Tried on different AWS EC2 instances, downloads well but then does not unzip.
Just to check I downloaded a zip file from another site and it unzips well, so AWS EC2 should not be the issue.
Commands I tried with
1. curl https://www.mybb.com/download/latest -o mybb.zip
and then
unzip mybb.zip "Upload/*"
2. wget --content-disposition https://www.mybb.com/download/latest -O mybb.zip
unzip mybb.zip "Upload/*"
It Downloads well and the error that occurs on unzip command is -
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.
Please help resolve.