Re: Large archive support
PB <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Sunday, October 8, 2023 at 2:03:27 PM UTC+2 jon bird wrote:
the wxZipInput/OutputStream classes) supports the creation/unpacking of
files over 4GB? Wikipedia refers to this as "ZIP64".
Hi,
this should be trivial to test with wxWidgets sample *archive*. The param
listing for the sample also has "--force-zip64 Force ZIP64 format when
creating ZIP archives".
And it worked fine for me with GIT master built as 64-bit with MSVC on
Windows:
d:\Dev\Desktop\Lib\wxWidgets-PB-build-vc17_x64_DLL\lib\vc_x64_dll>dir
test*.mkv
08/21/2019 10:00 PM 7,036,940,207 test1.mkv
03/23/2019 04:52 AM 8,532,807,786 test2.mkv
2 File(s) 15,569,747,993 bytes
0 Dir(s) 363,879,571,456 bytes free
d:\Dev\Desktop\Lib\wxWidgets-PB-build-vc17_x64_DLL\lib\vc_x64_dll>archive
--force-zip64 c bigarchive.zip test1.mkv test2.mkv
Adding test1.mkv...
Adding test2.mkv...
Created archive
dir bigarchive.zip
10/08/2023 05:21 PM 15,528,442,301 bigarchive.zip
1 File(s) 15,528,442,301 bytes
0 Dir(s) 347,433,095,168 bytes free
d:\Dev\Desktop\Lib\wxWidgets-PB-build-vc17_x64_DLL\lib\vc_x64_dll>archive
--force-zip64 l bigarchive.zip
Archive: bigarchive.zip
Length Date Time Name
---------- ---------- -------- ----
7036940207 2023-10-08 17:13:50 test1.mkv
8532807786 2023-10-08 17:17:30 test2.mkv
---------- -------
15569747993 2 files
d:\Dev\Desktop\Lib\wxWidgets-PB-build-vc17_x64_DLL\lib\vc_x64_dll>archive
--force-zip64 x bigarchive.zip
Extracting from: bigarchive.zip
Extracting: test1.mkv...
Extracting: test2.mkv...
Extracted all files
No idea how is this affected by the version of the zlib used (i.e., when
using the system one instead the one bundled with wxWidgets).
Regards,
PB
--
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/93cac16d-4d72-4948-af4d-0d3a36dd4e56n%40googlegroups.com.