Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39089
| From | Andreas Leitgeb <avl@logic.at> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: reading zip file |
| Date | 2019-08-08 17:51 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnqkoo8p.36g.avl@logic.at> (permalink) |
| References | <daa1fc10-39a1-4942-b9da-d7f5e1fa9907@googlegroups.com> <qihcn4$1mo7$1@gioia.aioe.org> <96b45a37-1ae3-49ea-b1ce-d35865af56a4@googlegroups.com> <qihf6i$2me$1@gioia.aioe.org> <2f44b0d0-26c2-4090-946f-83a5c097ed7b@googlegroups.com> |
Eric Douglas <e.d.programmer@gmail.com> wrote: > I expect HTTP content length would give me the size of the zip file. > I want to know the total size of the files in the zip file, which is > what the updates to the progress bar would be based on. Are you serious? You'd download the 400MB zip file twice - once just for measuring, and then again for the contents? Are you sure, you cannot cache it locally on disk? Are you sure you cannot request some kind of digest first, that would just have nr of files and maybe total uncompressed size? Do you expect the download to be faster than saving the extracted files on disk?
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 07:12 -0700
Re: reading zip file Arne Vajhøj <arne@vajhoej.dk> - 2019-08-08 10:48 -0400
Re: reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 08:00 -0700
Re: reading zip file Arne Vajhøj <arne@vajhoej.dk> - 2019-08-08 11:30 -0400
Re: reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 08:42 -0700
Re: reading zip file Andreas Leitgeb <avl@logic.at> - 2019-08-08 17:51 +0000
Re: reading zip file Arne Vajhøj <arne@vajhoej.dk> - 2019-08-08 17:17 -0400
Re: reading zip file Joerg Meier <joergmmeier@arcor.de> - 2019-08-08 22:06 +0200
Re: reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 13:49 -0700
Re: reading zip file Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-08-08 19:49 +0200
Re: reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 12:58 -0700
Re: reading zip file Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-08-08 22:38 +0200
csiph-web