PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » Archive_Zip » Bug #7615

Failed extracting a 1.5Mb file

Details

Submitted2006-05-12 17:01 UTC
Fromandres__pinilla at hotmail dot com
StatusSuspended
PackageArchive_Zip
PHP Version4.3.0
OSLinux
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