Home » File Formats » Archive_Zip » Bug #7615
Failed extracting a 1.5Mb file
Details
| Submitted | 2006-05-12 17:01 UTC |
|---|---|
| From | andres__pinilla at hotmail dot com |
| Status | Suspended |
| Package | Archive_Zip |
| PHP Version | 4.3.0 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-05-12 17:01 UTC] andres__pinilla at hotmail dot com
Description:
------------
It always fails to decompress this file (bta.zip)
you can download file from webpage
http://www.hmt-colombia.com/pub/bta.zip
Test script:
---------------
$nomZip = /home/test/bta.zip;
$nomArc = /bta/Ciclo_26.txt;
$predir = /home/test;
$myZip = new Archive_Zip($nomZip);
$respZ = $myZip->extract(array('by_name' => array($nomArc),
'add_path' => $predir . '/',
'remove_all_path' => true));
$resp = "Result:<br><br>\n";
foreach($respZ as $key => $value)
{
$resp .= $key . " => " . $value . "<br>\n";
if(is_array($value))
foreach($value as $keyA => $valueA)
$resp .= " " . $keyA . " => " . $valueA . "<br>\n";
}
Expected result:
----------------
The file Ciclo_26.txt uncompressed in directory /home/test
Actual result:
--------------
Web page crashes