469,306 Members | 2,579 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

seek in a zip file??

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.

Jul 18 '05 #1
2 3752
Enrique <en************@xgs-spain.com> wrote:
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!
Jul 18 '05 #2
"Enrique" <en************@xgs-spain.com> wrote in message news:ma************************************@python .org...
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.
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Shu-Hsien Sheu | last post: by
1 post views Thread by Amy G | last post: by
3 posts views Thread by Pernell Williams | last post: by
reply views Thread by Prabhu Ramachandran | last post: by
1 post views Thread by Waitman Gobble | last post: by
1 post views Thread by Derrick | last post: by
2 posts views Thread by mhearne808[insert-at-sign-here]gmail[insert-dot-he | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.