Using SharpZipLib and getting progress status

  • Thread starter Thread starter Dr_PoLish (the schnitzel)
  • Start date Start date
D

Dr_PoLish (the schnitzel)

Hey,

I've been developing an app that would basically clone the
functionality that apt-get does for debian and port it to windows. Yes,
the whole deal - repositories, .deb clones (in this case, pgz) and the
whole deal. Currently the download thats up there is really old, my
latest nightly couldn't get posted, and i hope to put one up this
friday.

Well - i need to know if anyone knows how to use SharpZipLib and get
progress percentage during extraction and compression. Any help will be
great.

Thanks,
tom wans

- p.s. if you'd like to work on autogz,
http://tomwans.pbwiki.com/autogz, then reply and tell me if you can
help out on a GUI.
 
Dr_PoLish (the schnitzel) said:
I've been developing an app that would basically clone the
functionality that apt-get does for debian and port it to windows. Yes,
the whole deal - repositories, .deb clones (in this case, pgz) and the
whole deal. Currently the download thats up there is really old, my
latest nightly couldn't get posted, and i hope to put one up this
friday.

Well - i need to know if anyone knows how to use SharpZipLib and get
progress percentage during extraction and compression. Any help will be
great.

SharpZipLib exposes a stream from which you can read or
write.

Meaning that a progress percentage would be just like
progress percentage for any copy style operation:

percentage = 100 * number of bytes so far / total number of bytes

Arne
 
thanks, that means that im gonna have to stop using the fastzip
function i've been using this whole time lol .
 

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

Back
Top