Re: Large archive support

jon bird <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Organization OnAStickSoftware
Message-ID <[email protected]>
Marvellous, looks like the answer is yes, I'll have a play with the
examples (I should probably have looked there first really).

Thanks.

On Sun, 8 Oct 2023 08:27:59 -0700 (PDT)
PB <[email protected]> wrote:

> 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
> 



-- 
-- 
== jon bird - software engineer
== <reply to address _may_ be invalid, real mail below>
== <reduce rsi, stop using the shift key>
== posted as: news 'at' onasticksoftware 'dot' co 'dot' uk

-- 
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/20231008174220.00006582%40onasticksoftware.co.uk.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.