Can you explain to me how to get the progress of an unzipped archive? i don´t understand how it´s explained in the guide, why the work way of this command is different to the copy command?
Regards
UnZip and Progress
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: UnZip and Progress
Well, if you want to unpack a whole archive, you don't even need the progress callback of zip.ExtractFile() - unless you are a perfectionist. For most needs, it's enough to just query #ATTRNUMENTRIES in the zip and take those as your 100%. For every entry in the zip archive you can then easily calculate how many files have already been unpacked in percent.
-
- Posts: 267
- Joined: Fri Feb 24, 2012 9:34 am
Re: UnZip and Progress
is working fine, thanks