I need a zip file (ZIP64) for a test case, I put a bigfile
of 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?
I need a zip file (ZIP64) for a test case, I put a bigfile
of 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?
Download the DotNetZip devkit from http://dotnetzip.codeplex.com/. Extract the Tools
folder from the dev kit and run DotNetZip-WinFormsTool.exe
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.
The archival tool 7zip supports zip64 archives. You could use that to generate your test case or validate it.
The default 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
file
message specific for ZIP64 files?
Mar 9, 2021 at 13:19
zip64
extensions are added you need to use the -zf
argument. As noted here: superuser.com/questions/1527547/…
Oct 5, 2021 at 9:07