I need a zip file (ZIP64) for a test case, I put a
5GB full of zeros and zipped it, but I don't know if is ZIP64.
Should the ZIP file exceed 4Gb to be ZIP64? A 4Gb file for a test case is pretty twisted can I have another option?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Download the DotNetZip devkit from http://dotnetzip.codeplex.com/. Extract the
Tools folder from the dev kit and run
It has a ZIP64 setting with the options:
Select the Always option to create archives in the ZIP64 format even if they only contain small files. The interface is a little clunky, but it's workable; it allowed me to create the ZIP64 test cases I needed.
zip(3.0) command in linux can be used to create a zip64 file. The following command on a sample HelloWorld.docx file stored in the current working directory would create a zip64 file.
cat HelloWorld.docx | zip > zip64file.zip
Here is the output of running the
file command on the created file
zip64file.zip: Zip archive data, at least v4.5 to extract