Difference between revisions of "ZipFile"
(initial text) |
|||
(11 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
=== About === | === About === | ||
− | TZipFile is an object that encapsulates a zip file so you can access it as if it's a filesystem. TZipFile is released under | + | TZipFile is an object that encapsulates a zip file so you can access it as if it's a filesystem. TZipFile is released under the LGPL license. TZipFile comes with a Lazarus package, so it's very easy to install it. The component is tested under Win32 and Linux_x86_32. File compression is currently not implemented although this feature is under development, so check SVN regularly. Currently only uncompressed files can be read and written to and from a zipfile. |
+ | |||
+ | {{Note|For people needing compression: TZipper reads/writes zip files and supports various compression algorithms. See [[paszlib#TZipper]] }} | ||
=== Author === | === Author === | ||
Line 6: | Line 8: | ||
=== License === | === License === | ||
− | + | LGPL | |
=== Contact === | === Contact === | ||
− | You can contact me directly by email or go to the #lazarus channel on freenode. | + | You can contact me directly by email or go to the #lazarus-ide channel on freenode. |
=== Download === | === Download === | ||
− | * [ | + | * [http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=211018 ZipFile package] |
− | * SVN: https://svn.sourceforge.net/svnroot/modelbuilder/src/trunk/ | + | * SVN: https://modelbuilder.svn.sourceforge.net/svnroot/modelbuilder/src/trunk/mcl/zipfile |
=== Change Log === | === Change Log === | ||
− | * Version 0.1 9-Nov-2006 : Initial release of the package. | + | * Version 0.1 9-Nov-2006: Initial release of the package. |
=== Status === | === Status === | ||
Line 29: | Line 31: | ||
=== Platforms === | === Platforms === | ||
* Windows XP - i386 | * Windows XP - i386 | ||
− | * SuSe | + | * SuSe Linux 10.0 - i386 |
=== Dependencies / System Requirements === | === Dependencies / System Requirements === | ||
* Lazarus 0.9.20+ and FPC 2.0.4+ (most probably older versions will work too) | * Lazarus 0.9.20+ and FPC 2.0.4+ (most probably older versions will work too) | ||
* Status: Beta | * Status: Beta | ||
− | * Issues: None | + | * Issues: None known. |
=== Installation === | === Installation === | ||
− | * Download the package from | + | * Download the package from Sourceforge and unzip it anywhere you want. |
− | * Open | + | * Open Lazarus |
* Open the package ZipFilePkg.lpk with Component/Open package file (.lpk) | * Open the package ZipFilePkg.lpk with Component/Open package file (.lpk) | ||
− | * Click on Compile | + | * (Click on Compile only if you don't want to install the component into the IDE) |
* Click on Install and answer 'Yes' when you are asked about Lazarus rebuilding. A new tab named 'MB' will be created in the components palette. | * Click on Install and answer 'Yes' when you are asked about Lazarus rebuilding. A new tab named 'MB' will be created in the components palette. | ||
=== Usage === | === Usage === | ||
Drop TZipFile on a form. Set the filename property and set active to True. That's all. See the provided example for more advanced usage. | Drop TZipFile on a form. Set the filename property and set active to True. That's all. See the provided example for more advanced usage. | ||
+ | |||
+ | === See also === | ||
+ | The [[paszlib]] unit provided with FPC has support for many zip compression and decompression formats. | ||
+ | |||
+ | [[Category:Components]] | ||
+ | [[Category:Lazarus]] | ||
+ | [[Category:FPC]] |
Latest revision as of 19:27, 4 July 2019
About
TZipFile is an object that encapsulates a zip file so you can access it as if it's a filesystem. TZipFile is released under the LGPL license. TZipFile comes with a Lazarus package, so it's very easy to install it. The component is tested under Win32 and Linux_x86_32. File compression is currently not implemented although this feature is under development, so check SVN regularly. Currently only uncompressed files can be read and written to and from a zipfile.
Author
Darius Blaszijk
License
LGPL
Contact
You can contact me directly by email or go to the #lazarus-ide channel on freenode.
Download
- ZipFile package
- SVN: https://modelbuilder.svn.sourceforge.net/svnroot/modelbuilder/src/trunk/mcl/zipfile
Change Log
- Version 0.1 9-Nov-2006: Initial release of the package.
Status
- Basic file operations - stable
Roadmap
- Stress testing
- Testing on more platforms (please add your platform on this page if it's not listed)
- Adding more tests
- Implementing deflate and inflate algorithm
Platforms
- Windows XP - i386
- SuSe Linux 10.0 - i386
Dependencies / System Requirements
- Lazarus 0.9.20+ and FPC 2.0.4+ (most probably older versions will work too)
- Status: Beta
- Issues: None known.
Installation
- Download the package from Sourceforge and unzip it anywhere you want.
- Open Lazarus
- Open the package ZipFilePkg.lpk with Component/Open package file (.lpk)
- (Click on Compile only if you don't want to install the component into the IDE)
- Click on Install and answer 'Yes' when you are asked about Lazarus rebuilding. A new tab named 'MB' will be created in the components palette.
Usage
Drop TZipFile on a form. Set the filename property and set active to True. That's all. See the provided example for more advanced usage.
See also
The paszlib unit provided with FPC has support for many zip compression and decompression formats.