Opening downloaded zip file creates cpgz file?

后端 未结 6 1835
盖世英雄少女心
盖世英雄少女心 2020-12-10 06:25

If I make the url for a zip file the href of a link and click the link, my zip file gets downloaded and opening it gets the contents as I expect.

Here\'

6条回答
  •  Happy的楠姐
    2020-12-10 06:50

    Another possible answer, I found After much searching, I found that the two possible reasons for a *.zip "unzipping" to a *.zip.cpgz are:

    1. the *.zip file is corrupted
    2. the "unzip" tool being used can't handle >2GB files

    Being a Mac user, the second reason was the cause for my problem unzipping the file: the standard Mac OS tool is Archive Utility, and it apparently can't handle >2GB files. (The file in question for me was a zipped 4GB raspbian disk image.)

    What I ended up doing was to use a Debian virtual machine, already existing in Virtual Box on my Mac. unzip 6.0 on Debian 8.2 had no problem unzipping the archive.

提交回复
热议问题