Top Level :: File Formats

Package Information: File_Archive

Show All Changelogs

» Version » Information
1.5.5

Easy Install

Not sure? Get more info.

pear install File_Archive-1.5.5

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.5.5

Download

For manual installation only

1.5.5


Release date: 2012年04月13日 04:51 UTC
Release state: stable
Release uploaded by: doconnor

Changelog:

QA release
Made bzip2 extension optional
Bug #19108 upgrade PHPUnit require statements (for PEAR QA Team)
Bug #17257 Corruupted zip file
Bug #17046 AddDirectory.php calls parent constructor incorrectly
Bug #14596 data read during tar import includes slashes

Bug #14557 bz2 is optional, not required

Request #6631 Host some tutorials on pearweb

Dependencies:
  • PHP Version: PHP 4.3.3 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: MIME_Type
  • PHP Extension: pcre
  • PHP Extension: zlib
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
  • PEAR Package: Cache_Lite 1.5.0 or newer (optional)
  • PHP Extension: bz2 (optional)
1.5.4

Easy Install

Not sure? Get more info.

pear install File_Archive-1.5.4

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.5.4

Download

For manual installation only

1.5.4


Release date: 2008年06月05日 17:32 UTC
Release state: stable
Release uploaded by: cbrunet

Changelog:

+ Bug #4159, #4204, #4548, #7650 (PHP4 compatibility)
+ Bug #4194, #4925 (short opening tags, whitespaces at beginning of file)
+ Bug #4916, #4921, #12175 (missing or wrong require_once)
+ Bug #4953 (absolute paths on Windows)
+ Bug #5095 (removed some debug code)
+ Bug #5145, #6646 (missing $)
+ Bug #5566 (support extraction of JAR files)
+ Bug #5792, #12450 (some PEAR::Error weren't returned back to caller)
+ Bug #5991 (reading of long filenames in TAR files)
+ Bug #6387 (reading of PK00PK ZIP files)
+ Bug #6570 (corrected headers in Output functions)
+ Bug #6743 (reading of uppercase filenames)
+ Bug #8187 (. mangled in paths)
+ Bug #8647 (typo)
+ Bug #9676 (reading of ZIP files with special signature)
+ Bug #10247 (CS stuff)
+ Bug #11084 (package2.xml file)
+ Bug #12448Â (empty dirs removed on tar archives)
+ Bug #13311 (extracting of ZIP files on 64 bits systems)
+ Bug #13516 (removing of PHP warnings)
+ Bug #13904 (bzip2 doesn't support compression level)
+ Add File_Archive::removeDirectoryStructure to create a reader that discard
the directory information of another reader
+ Readers now report the directories as file ending with a / (warning: this
may be a backward compatibility problem if you read directly from the reader,
but not if you exclusively use File_Archive::extract)
+

Dependencies:
  • PHP Version: PHP 4.3.3 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: MIME_Type
  • PHP Extension: bz2
  • PHP Extension: pcre
  • PHP Extension: zlib
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
  • PEAR Package: Cache_Lite 1.5.0 or newer (optional)
1.5.3

Easy Install

Not sure? Get more info.

pear install File_Archive-1.5.3

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.5.3

Download

For manual installation only

1.5.3


Release date: 2005年08月16日 16:45 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

Bug #4953 (absolute windows path)
Bug #5095 (date of files when creating a zip archive)
Fix a bug when using File_Archive::appender on non existing archives

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
  • PEAR Package: Cache_Lite 1.5.0 or newer (optional)
1.5.2

Easy Install

Not sure? Get more info.

pear install File_Archive-1.5.2

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.5.2

Download

For manual installation only

1.5.2


Release date: 2005年07月26日 21:26 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

Bug #4921, #4925

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
  • PEAR Package: Cache_Lite 1.5.0 or newer (optional)
1.5.1

Easy Install

Not sure? Get more info.

pear install File_Archive-1.5.1

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.5.1

Download

For manual installation only

1.5.1


Release date: 2005年07月26日 05:07 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

Bug #4916

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
  • PEAR Package: Cache_Lite 1.5.0 or newer (optional)
1.5.0

Easy Install

Not sure? Get more info.

pear install File_Archive-1.5.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.5.0

Download

For manual installation only

1.5.0


Release date: 2005年07月15日 13:37 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

+ Improved zip reader (File_Archive_Zip_Reader implements more options of the PKZip standard)

+ Some change in the Cache_File use:
- The fileNameProtection is forced to false when setting the cache option
- Add a File_Archive_cleanCache function
To remove the cached compressed version of the files that are no longer present on the system, call
$cache->clean(false, 'callback_File_Archive_cleanCache');
where $cache is the Cache_Lite object passed to File_Archive.

+ Introduce 'blockSize' option that indicates the size of the blocs copied from a reader to a writer when
extracting a file. The default has been set to 64kB but is subject to change in future releases

+ File_Archive::cache to cache a reader if you read it several times in the same script

+ 'cacheCondition' option. With this option, you can specify you want to cache all the http
transfer for example. Caching an http transfer ensure that the file won't be downloaded several times

+ File_Archive::readUploadedFile creates a reader on an uploaded file

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
  • PEAR Package: Cache_Lite 1.5.0 or newer (optional)
1.4.1

Easy Install

Not sure? Get more info.

pear install File_Archive-1.4.1

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.4.1

Download

For manual installation only

1.4.1


Release date: 2005年06月08日 09:11 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

Bug #4548

Dependencies:
1.4.0

Easy Install

Not sure? Get more info.

pear install File_Archive-1.4.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.4.0

Download

For manual installation only

1.4.0


Release date: 2005年06月06日 11:03 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

+ Add the possibility to use Cache_Lite to cache intermediary output of Zip compression
+ Add get and setOption method to change the default behavior of readers and writers
Available options are
- zipCompressionLevel: default compression level of zip archives (default is 9)
- gzCompressionLevel: default compression level of gz archives (default is 9)
- tmpDirectory: directory where temporary files will be stored (default is '.')
- cache: instance of Cache_Lite that may be used by any writer to cache data
for future use. Currently used by Zip writer (default is null: no cache)
- appendRemoveDuplicates: specify if the appenders should remove the old files
from an archive to avoid creating duplicates (default is false, which is faster)
+ Add the possibility to use wildcards in read function
File_Archive::read('dir/*.txt') will read all txt files from directory dir
File_Archive::read('archive.zip/*.txt') will read all txt files from the zip archive
Note: The wildcards can only be used after the last '/'
+ All the File_Archive functions that take a reader or a writer as an argument can now take
a string or an array. For readers, strings are interpreted using File_Archive::read function
and array using File_Archive::readMulti. For writers, strings are interpreted using File_Archive::appender
function and array by creating a multi writer.

Dependencies:
1.3.0

Easy Install

Not sure? Get more info.

pear install File_Archive-1.3.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.3.0

Download

For manual installation only

1.3.0


Release date: 2005年05月30日 17:07 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

+ Add some functions to allow archive modification
- File_Archive::appender creates a writer to append files to an existing archive
- File_Archive::remove and File_Archive::removeDuplicates removes some files from
an existing archive

These functions allow to modify archives or even nested archives
See http://poocl.la-grotte.org for more detailed examples

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
1.2.0

Easy Install

Not sure? Get more info.

pear install File_Archive-1.2.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.2.0

Download

For manual installation only

1.2.0


Release date: 2005年05月26日 17:35 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

+ Add an ar (or deb) reader / writer
+ Add a getFileList() on any reader to quickly retrieve file list
+ File_Archive::readArchive properly handles tgz and tbz extensions
+ Better error handling
+ Various bug fixes

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
1.1.0

Easy Install

Not sure? Get more info.

pear install File_Archive-1.1.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.1.0

Download

For manual installation only

1.1.0


Release date: 2005年05月08日 05:25 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

+ Add the makeAppendWriter function on readers to allow to append data to an existing archive

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
1.0.1

Easy Install

Not sure? Get more info.

pear install File_Archive-1.0.1

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.0.1

Download

For manual installation only

1.0.1


Release date: 2005年04月21日 07:59 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

+ Bug 4192 (<? instead of <?php in some source files)
+ Functions File_Archive::isKnownExtension and File_Archive:;readArchive
added. They allow to specify the type of an archive. This is usefull is the extension
of the file doesn't reflect its real type.

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
1.0.0

Easy Install

Not sure? Get more info.

pear install File_Archive-1.0.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-1.0.0

Download

For manual installation only

1.0.0


Release date: 2005年04月16日 19:32 UTC
Release state: stable
Release uploaded by: vincentlascaux

Changelog:

+ Bug 4159 (PHP4 compatibility)
+ Bug 4165 (Better USTAR handling in tar files)
+ The package now use temporary files to reduce the amount of memory used
when reading or writing large archives. The following indicates the current
memory usage of the different reader / writers
- Tar writer: constant memory usage
- GZip writer: constant memory usage, temporary file
- BZ2 writer: constant memory usage, temporary file
- ZIP writer: size of the largest file written to the archive

- Tar reader: constant memory usage
- GZip reader: constant memory usage, temporary file
- BZ2 reader: constant memory usage, temporary file
- ZIP reader: size of the largest file read from the archive

The temporary files are created in the current directory. Their name start with
far, their extension is tmp. They are automatically deleted when the reader / writer
is closed.

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
0.3.0

Easy Install

Not sure? Get more info.

pear install File_Archive-0.3.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-0.3.0

Download

For manual installation only

0.3.0


Release date: 2005年04月08日 06:19 UTC
Release state: beta
Release uploaded by: vincentlascaux

Changelog:

+ Bug 3894
+ The File_Archive::read function does no longer take the optional source parameter
A File_Archive::readSource function has been created that takes the source parameter
+ The mail parameter in File_Archive::toMail is now mandatory, but giving a null variable will
result in using Mail::factory("mail")
+ The File_Archive::toMemory function does no longer take a variable argument
A File_Archive::toVariable function has been created for that

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
0.2.0

Easy Install

Not sure? Get more info.

pear install File_Archive-0.2.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-0.2.0

Download

For manual installation only

0.2.0


Release date: 2005年02月24日 12:43 UTC
Release state: beta
Release uploaded by: vincentlascaux

Changelog:

+ Add a MIME predicate
+ Change the toArchive function to detect the compression format using the extension of the file
(Warning: this is not backward compatible since the order of the arguments have changed)

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: MIME_Type
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)
0.1.0

Easy Install

Not sure? Get more info.

pear install File_Archive-0.1.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/File_Archive-0.1.0

Download

For manual installation only

0.1.0


Release date: 2005年02月20日 10:33 UTC
Release state: alpha
Release uploaded by: vincentlascaux

Changelog:

First release of File_Archive

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: Mail_Mime (optional)
  • PEAR Package: Mail (optional)

AltStyle によって変換されたページ (->オリジナル) /