RE: Large archive support

Steve Barnes <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <AS8P194MB1822C520F878BE88F7A210C79BCEA@AS8P194MB1822.EURP194.PROD.OUTLOOK.COM>
Hi Jon,

Since the wxZipArchiveFormat has since 3.1.1 includes wxZIP_FORMAT_ZIP64 and wxOutputStream has a SetFormat member which is documented in the manual as:
"""
SetFormat()
void wxZipOutputStream::SetFormat       (       wxZipArchiveFormat      format  )
Set the format of the archive.

The normal zip format is limited to single files and the complete archive smaller than 4GB with less than 65k files. If any of these limits are exceeded, this class will automatically create a ZIP64 file, so in most situations calling SetFormat() is not necessary.

However, to support single entries with more than 4GB of data (compressed or original) whose sizes are unknown when adding the entry with PutNextEntry(), the format has to be set to wxZIP_FORMAT_ZIP64 before adding such entries.

Since
3.1.1
"""

I think it is a safe bet.

Hope that helps,

Steve

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of jon bird
Sent: Sunday, October 8, 2023 1:03 PM
To: [email protected]
Subject: Large archive support

Hi,

Can anyone confirm/deny that the zip archive support in wxWidgets (ie.
the wxZipInput/OutputStream classes) supports the creation/unpacking of files over 4GB? Wikipedia refers to this as "ZIP64".

I have some old code which has this limit & need to find a replacement.
I was planning on using this (since I use it elsewhere) but want to be sure I won't hit the same limitation.

Thanks,

Jon.

--
--
== 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/20231008130312.6d1014d0%40lapdog.onasticksoftware.net.

-- 
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/AS8P194MB1822C520F878BE88F7A210C79BCEA%40AS8P194MB1822.EURP194.PROD.OUTLOOK.COM.
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.