seek in a zip file??

E

Enrique

hello all!
i´m working with big size files, to maintain them, it would be better to
compress the files.
to recover a little part of the big file, how can i extract that little
parte instead of the whole file that will bring a lot of time?
Can i know the offset in a zip file?? i know the offset in the big one.
Any idea will be welcome.

Thanks.

Enrique
Madrid- Spain



**AVISO DE CONFIDENCIALIDAD**
La información contenida en este mensaje y archivos es privada y confidencial estando dirigida solamente al destinatario. Si Ud. ha recibido esta información por error, por favor, proceda a su inmediata destrucción. Cualquier opinión o punto de vista contenido en este mensaje corresponde al remitente y necesariamente no representa la opinión del GRUPO XEROX.
 
R

Radovan Garabik

Enrique said:
hello all!
i´m working with big size files, to maintain them, it would be better to
compress the files.
to recover a little part of the big file, how can i extract that little
parte instead of the whole file that will bring a lot of time?
Can i know the offset in a zip file?? i know the offset in the big one.
Any idea will be welcome.

I used dictzip for the same purpose, and it works well.
download serpento from
http://melkor.dnp.fmph.uniba.sk/~garabik/serpento/
and look for dictzip module
(compress the files with dictzip from dictd package)

--
-----------------------------------------------------------
| Radovan Garabík http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
 
S

Serge Orlov

hello all!
i´m working with big size files, to maintain them, it would be better to
compress the files.
to recover a little part of the big file, how can i extract that little
parte instead of the whole file that will bring a lot of time?
It's impossible by design of zip compression algorithm.
Can i know the offset in a zip file?? i know the offset in the big one.
Any idea will be welcome.
Pack your file in small chunks (for example 256K) and hide
this fact from your main program using small wrapper.
Or use file system compression (available on windows ntfs filesystem)
Or find a compression library that allows random access
and generate a wrapper for it using SWIG.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,076
Latest member
OrderKetoBeez

Latest Threads

Top