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



Thank you for the detailed response. Having a password on the zip file will
be good, but not totally mandatory. Now a password on some of the PDFs I am
going to have to send out will be a must

Jason

On Thu, Apr 18, 2019, 7:46 PM Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
wrote:

Hi Jason,

If you're supplying a password, I assume this means you need to use the
cryptography support in .ZIP. (Most people do not use passwords on a
.ZIP file, which might be why this seems extra difficult for you, it's
less mainstream.)

It's been a few years since I've done this, but when I did I found 3
tools that supported passwords:

1. InfoZip. Works well, but only supported older encryption standards
(not sure if this has changed since I looked into it.)

2. 7-Zip. Did support the latest cryptography, and worked well. A bit
more complicated because it supports tons of different formats, not just
ZIP.

3. The PKWARE commercial offering. I didn't look into this any further
beyond determining that it supported passwords, and never tried it myself.

Other tools out there, such as the MiniZip/ZLIB tool and JAR did not
support passwords or encryption when I looked into it.

Both InfoZip and 7-Zip run in PASE.

-SK


On 4/18/19 1:11 PM, Jason Olson wrote:
There are times when you get so annoyed with IBM i that you just wanna
run
out of the room screaming. OK I'm being overdramatic here but I am kinda
annoyed by one thing in particular.

I used to use the zip utility from here,

http://uzaemon.d.dooo.jp/#download

to zip and unzip .zip files on IBM i. However, that product has not been
updated to the latest ZLIB in a long period of time. So when I noticed
that
IBM gave us the CPYTOARCF commands I was happy, but you can't supply
that a
password. And, you always get the full directory path in the .zip and
there
isn't a way to stop that that I know of.

So what do others do for their .zip files? Do you use a commerical
product
or are you using ZLIB with minizip included? Are you building your own?
I'd
love to know as I hate using 3rd party apps if I don't have to.


Thanks,

Jason E. Olson
IBM i Engineer/Developer
josys36@xxxxxxxxx
480.223.2952

--
Scott Klement
http://www.scottklement.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.