PHP Classes

Unsupported ZIP Compression

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  Unsupported ZIP Compression  
Subject:Unsupported ZIP Compression
Summary:Unable to extract 64bit zip file using Zip Archive method
Messages:1
Author:kalla
Date:2016-10-12 04:28:06
Update:2016-10-12 04:50:28
 

  1. Unsupported ZIP Compression   Reply   Report abuse  
Picture of kalla kalla - 2016-10-12 04:50:28
Hi,

I have problem with 64bit zip extraction using PHP. Does Zip Archive support 64 bit zip extraction?

$zip = new ZipArchive;
if ($zip->open($fileName) === TRUE) {
$zip->extractTo($dir);
$extractFile = trim($zip->getNameIndex(0), '/');
echo $zip->getStatusString();
$zip->close();
} else {
echo 'Unable to get archive file from zip';
}

I have got the error status "Unsupported Compression / Compression method not supported" for 64Bit Zip file (compressed using windows 8 compressed folder)

Zip File description (zipinfo)
-rw-a-- 2.1 fat 3027500014 t- d64N 16-Sep-12 16:30 file.txt