It has come to my attention that std.zip can only read Zip files with <= 65535 files. I understand that this is an inherent limitation of older versions of the Zip file format. This is becoming a significant limitation for me, as I am trying to do a cluster computing project with a very large data set composed of 10s of thousands of very small files that would bog down the file system if used in unzipped form.
https://github.com/D-Programming-Language/phobos/pull/2914 This solves the issue with limited number of items allowed in older zip archives, but for files over 4 GB, encryption, or preserving file attributes (especially when moving files between platforms) something other than std.zip would have to be used.
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/8cc228c4e97b5bc2be2e6ed338faf5bcaed6336b Fix Issue 2138 - Allow more than 65535 files in Zip archives Fixed by adding support for reading and writing Zip64 archives https://github.com/D-Programming-Language/phobos/commit/ad5ae8767fbe54f9e0b15aa12d64e81daeaf43db Merge pull request #2914 from fgda/issue_2138 Fix Issue 2138 - Allow more than 65535 files in Zip archives
Commits pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/8cc228c4e97b5bc2be2e6ed338faf5bcaed6336b Fix Issue 2138 - Allow more than 65535 files in Zip archives https://github.com/D-Programming-Language/phobos/commit/ad5ae8767fbe54f9e0b15aa12d64e81daeaf43db Merge pull request #2914 from fgda/issue_2138