File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes java API to attach a password for the generated zip file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "java API to attach a password for the generated zip file" Watch "java API to attach a password for the generated zip file" New topic
Author

java API to attach a password for the generated zip file

Radhika R Bansal
Greenhorn

Joined: Jun 05, 2006
Posts: 2
Hi,

1) Using java 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
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
There is no support for this in standard class libraries, but a quick Google search finds this article, which suggests two ways how to do it.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java API to attach a password for the generated zip file
 
Similar Threads
Read a passowrd protected zip file
Email zip attachments
How to password protect a zip file?
How create encrypted/password-protected zip file?
Zip the file along with password protected