Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 21894, SciZipFile: A single Delphi unit for ZIP file handling

by Patrik Spanel Email: Anonymous

Loading and saving of PKZIP format ZIP files. In memory compression and extraction. Uses Borland supplied zlib. No other files required. Ideal for OpenOffice documents. Updated to work with D2009
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 6.0  to 13.0 2250 downloads
Copyright: Open Source or other

Size: 57,445 bytes
Updated on Sat, 27 Jun 2009 14:11:18 GMT
Originally uploaded on Fri, 25 Jun 2004 02:37:06 GMT
SHA1 Hash: 00612603D2FEDD069DFB2E1747C615C7C40D388F
MD5 Hash: BAB2D8539AA5395F66ED11D9EF790B2C

    Explore the files in this upload

Allows loading and saving of PKZIP format ZIP files with easy in memory compression and extraction. Uses Borland supplied zlib. No other files required. Ideal for working with OpenOffice and similar format documents.

Works with all versions of Delphi from 6 to 2009

Simple demo by Nick Naimo is included now.

Written from scratch using PKZip file specification application note

using the Borland out of the box zlib supplied with Delphi 6 and 7. Note that this unit does not use any InfoZip libraries.

Sample use of the TZipFile object:

zf: TZipFile;
zf := TZipFile.Create;
zf.Data[0] := Memo1.Text;

The source code of the unit is a fresh Delphi code with extensive use of AnsiStrings, dynamic arrays, streams, "with" constructs etc.

The objective of this simple unit is to facilitate use of the OpenOffice type file format (XML data stored in a ZIP file) in various applications.

We have written this during one evening after deciding that using solutions evolved from C++ and Infozip was not nice for our project where compressed storage of XML data in a standard format was desirable, whilst avoidning introduction of new dependencies into the project structure.

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03