Truezip returning unsupported compression method error when extracting large files

StackOverflow https://stackoverflow.com/questions/19441879

  •  01-07-2022
  •  | 
  •  

Question

Truezip 6 and 7 returning error message "compression method 9 is not supported" when extracting any files greater then 2GB that were compressed using windows compressing method. (This is achieve by highlighting the file that is 2GB or bigger and then right clicking on the mouse -> send to->Compressed (zipped) folder).

using Truezip 7 code below:

TFile srcFile = new TFile(src, incPath); TFile dstFile = new TFile(dst);

TFile.cp_rp(srcFile, dstFile, TArchiveDetector.NULL);

produces the error "compression method 9 is not supported" when it hits the "..truezip.zip.RawZipFile.getInputStream". Is there a way to fix this? or a method to overcome this issue? This only happens when using windows zipped method, however when using 7Zip to compress files that is greater then 2GB and then using truezip to extract isn't a problem.

No correct solution

OTHER TIPS

Method 9 is an extended Deflater method with a bigger dictionary. As the exception says, it isn't supported because the JRE doesn't support it. It seems to be new that the Windows Explorer is using this method.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top