× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 1/30/2018 11:33 AM, Justin Taylor wrote:
I need to read ZIP file comments. The QzipZip() API
(https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/apis/qzipzip.htm)
has the option to write comments, but the corresponding QzipUnzip()
API
(https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/apis/qzipunzip.htm)
doesn't have the option to read them.

If I'm reading the description correctly, the QzipUnzip API doesn't _READ_ a ZIP ... it extracts files from a ZIP.

I wouldn't expect that API to care about ZIP comments.

I suspect you're looking for some kind of ZIP information API.

You might be able to roll your own using the information on this page: https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html

Alternatively, you might be able to use Java to extract information. https://docs.oracle.com/javase/6/docs/api/java/util/zip/package-summary.html

david



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.