php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73278 Unsupported Compression
Submitted: 2016-10-10 05:32 UTC Modified: 2016-12-04 04:22 UTC
From: kalla dot ad at gmail dot com Assigned:
Status: No Feedback Package: Zip Related
PHP Version: 7.0.11 OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
21 + 47 = ?
Subscribe to this entry?

 
 [2016-10-10 05:32 UTC] kalla dot ad at gmail dot com
Description:
------------
Hi,

I just want to know.. does Zip Archive support 64 bin zip extraction.

Test script:
---------------
$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';
}

Expected result:
----------------
The Zip Archive extractTo method should work and return all the files within

Actual result:
--------------
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-21 22:23 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2016-11-21 22:23 UTC] ab@php.net
Thanks for the report. Could you please provide a zip file as well? You can upload it anywhere and link in the ticket.

Thanks.
 [2016-12-04 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Feb 19 16:01:32 2020 UTC