[fpc-pascal] streaming file from zip into my app

dhkblaszyk at zeelandnet.nl dhkblaszyk at zeelandnet.nl
Fri Nov 30 09:04:36 CET 2007

> Hi,
> I'd like to unzip one file from a zip archive and use it directly as
> input for something else (sax or self written parser).
> Since the unzip package form the "extra" dir only writes to disc files:
> Is there any alternative source for writing from zip to a stream instead
> of a file?
> Or even better: is any fpc source for extracting the document info from
> Openoffice.org files already written? ;)

Hi Marc,

You can have a look at TZipFile
(http://wiki.lazarus.freepascal.org/ZipFile). The only problem still with
it is that it does not support decoding / encoding. But the basis is there
You can access a zipfile as if it's a filesystem.


More information about the fpc-pascal mailing list