PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » File Formats » File_Archive

File_Archive will let you manipulate easily the tar, gz, tgz, bz2, tbz, zip, ar (or deb) files

This package is unmaintained.

Download latest release 1.5.5 (archived versions might be outdated)

License: LGPL

Description

This library is strongly object oriented. It makes it very easy to use, writing simple code, yet the library is very powerfull.
It lets you easily read or generate tar, gz, tgz, bz2, tbz, zip, ar (or deb) archives to files, memory, mail or standard output.
See http://poocl.la-grotte.org for a tutorial

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#1899BogusBug2004-07-16Adding an existing file to an archive duplicates the file instead of updating i
#3894ClosedBug2005-03-20pb with PHP 4.x
#4157ClosedBug2005-04-15File_Archive::toArchive Pass by reference error
#4159ClosedBug2005-04-15Archive.php Parse Error in PHP4
#4165ClosedBug2005-04-16tar and tar.gz directory structure not maintained
#4192ClosedBug2005-04-20Strange error with > closing php code
#4204ClosedBug2005-04-22Parse error Concat.php under PHP4
#4213BogusBug2005-04-23Call to undefined function extract()
#4233ClosedBug2005-04-27Wrong Trackback-Link?
#4234ClosedReq2005-04-27No end-user documentation is available
#4327No FeedbackBug2005-05-11PHP Hang on Permissions
#4376No FeedbackBug2005-05-18Zip archive wont add files or even download, zero bytes
#4548ClosedBug2005-06-07$_File_Archive_Options not global
#4916ClosedBug2005-07-26Fatal error when using extract()
#4921ClosedBug2005-07-26Inclusion of unexisting files in File/Archive.php
#4925ClosedBug2005-07-26Archive.php Whitespace
#4953ClosedBug2005-07-31Extracting does not work with absolute paths
#5024BogusBug2005-08-08Weird behavior with dynamic zip file containing multiple files.
#5095ClosedBug2005-08-15Code makes no sense
#5145ClosedBug2005-08-18type on Write/Files.php on line 201
#5566ClosedReq2005-09-29Patch to support reading JAR archives
#5590DuplicateReq2005-10-03dead link
#5678DuplicateBug2005-10-12File_Archive is broken in php 5.1rc1
#5792ClosedReq2005-10-27Package needs to provide more meaningful errors
#5903ClosedReq2005-11-09tutotial site for File_Archive is unreachable
#5991ClosedBug2005-11-17Doesn't read deeply nested Tar files with @LongLink
#6387ClosedBug2006-01-01Unable to open zip files created on a PC
#6496ClosedReq2006-01-15Examples needed and external documentation page not reachable
#6546AssignedBug2006-01-21File added twice
#6570ClosedBug2006-01-24Archive names with spaces not handled in Firefox
#6631ClosedReq2006-01-30Host some tutorials on pearweb
#6646ClosedBug1.5.32006-01-31var filename missing $
#6743ClosedBug1.5.32006-02-10uppercase problem
#7650ClosedBug1.5.32006-05-17"Only variables should be assigned by reference" notice
#8187ClosedBug1.5.32006-07-11paths get too much mangled
#8647ClosedBugCVS2006-09-07confusion between 'n' and ','
#9676ClosedBug1.5.32006-12-21Problem ready Mac Archive Files
#10144VerifiedBug1.5.32007-02-21long filenames are not stored correctly
#10219VerifiedBug1.5.32007-02-28Not any Archive inside an archive wont be recognises while extracting
#10247ClosedBug1.5.32007-03-02unnecessary calls to die()
#11084ClosedReqCVS2007-05-20Needs a package 2.0 file
#12175ClosedBug1.5.32007-10-02Missing include to File_Archive_Reader_Filter
#12180No FeedbackBug1.5.32007-10-03unable to extract zip archives from eclipse
#12294Wont fixBug1.5.32007-10-22No error if MIME_Type package not installed
#12448ClosedBug1.5.32007-11-14Empty directories removed when extracting .tar.gz
#12450ClosedBug1.5.32007-11-15mail() function fails and extract() returns null
#12601BogusBug1.5.32007-12-03toMail() produces ugly e-mails
#12617AnalyzedReq1.5.32007-12-05Incorrectly marks an archive/file as compressed when it's not
#13204DuplicateBug1.5.32008-02-25incorrectly extracts zip archives made with OS X
#13251DuplicateBug1.5.32008-02-28Adding a folder with subfolders results in multiple occurrence of single files
#13311ClosedBug1.5.32008-03-0564bit systems can't extract zip files
#13390No FeedbackBug1.5.32008-03-13.tar.bz2 files not extracting
#13498DuplicateBug1.5.32008-03-25extract function bug, multiple files included.
#13499DuplicateBug1.5.32008-03-25extract function bug, multiple files included.
#13516ClosedBug1.5.32008-03-27Warnings in File/Archive/Writer/Files.php
#13723BogusBugCVS2008-04-19Only variables should be assigned by reference (E_STRICT)
#13904ClosedBugCVS2008-05-14bzopen doesn't support compression level
#14547OpenReq1.5.42008-08-22Unable to create archive with an empty directory
#14557ClosedBug1.5.42008-08-25bz2 is optional, not required
#14559OpenReq1.5.42008-08-25Use PHP ZIP extension
#14578No FeedbackBug1.5.42008-08-28.zip file results are corrupt
#14596ClosedBug1.5.42008-09-04data read during tar import includes slashes
#14621OpenBug1.5.42008-09-08unmodifyName mangles filename
#14622AssignedBug1.5.42008-09-08reading tar files with split filenames needs slash inserted
#15673FeedbackBug1.5.42009-01-18Directories in root of zip file are ignored.
#16461BogusBug1.5.42009-07-22Error for large file sizes (over 3.5Mb)
#17046ClosedBug1.5.42010-01-30AddDirectory.php calls parent constructor incorrectly
#17257ClosedBug1.5.42010-03-24Corruupted zip file
#17330OpenBug1.5.42010-04-21File_Archive create invalid zip file
#17435FeedbackReqUnknown2010-05-25Handling xz and lzma archive
#17836OpenBugSVN2010-08-31Deprecated functionality (as of PHP 5.3)
#18076OpenBug1.5.42010-11-19Reader select error
#18077DuplicateBug1.5.42010-11-19Reader select error
#18337OpenBug1.5.42011-03-04Call to undefined method File_Archive_Reader_ChangeName
#18338DuplicateBug1.5.42011-03-04Call to undefined method File_Archive_Reader_ChangeName
#19105OpenBug1.5.42011-12-07Notice error in File_Archive.php
#19108ClosedBugSVN2011-12-07upgrade PHPUnit require statements (for PEAR QA Team)
#20064OpenBug1.5.52013-09-17compress directory and generated double,triple file.
#20065OpenBug1.5.52013-09-17compress directory and generated double,triple file.