File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
java API to attach a password for the generated zip file
Radhika R Bansal
Joined: Jun 05, 2006
Aug 04, 2006 06:20:00
API we need to zip multiple files and create a .zip file.
2) Using java API attach a password for the generated zip file.
We are able to generate the zip file using java.util API but couldn't find a way to attach password.
Can someone pls help me with this. Thanks in advance
Joined: Mar 22, 2005
Aug 04, 2006 06:42:00
There is no support for this in standard class libraries, but a quick Google search finds
, which suggests two ways how to do it.
I agree. Here's the link:
subject: java API to attach a password for the generated zip file
How to password protect a zip file?
Zip the file along with password protected
Read a passowrd protected zip file
How create encrypted/password-protected zip file?
Email zip attachments
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015