Put header at beginning of 7zip file, not the end by default
A free file archiver for extremely high compression
Brought to you by:
ipavlov
When downloading a large 7zip file from the web, dropped connections can happen. With some formats like rar, you can extract any files whose data has actually been downloaded. So if you downloaded 90% of a photoset, for example, you'll be able to extract 90% of the photos.
However, it seems with 7zip archives, you can't extract anything even if you have downloaded 90% because the header/index is put at the end. This is not web friendly. Please place at the beginning by default. This could be accomplished by scanning the files to be compressed in an initial pass so that their size is known, allowing the header/index to be written at that point, before any file data.
It's simpler to write headers to the end , because we need to write headers after file processing.
And now we will keep that scheme in 7-Zip for compatibility reasons.
I'm sure is it easier to do it at the end, but as the ticket explains, it's not web friendly. I outline a method of accomplishing it in my ticket. As for "compatibility," I don't see how that factors in - of course you will need to read all the formats you generate, but that doesn't seem like an obstacle.