Hi together,
i have been searching for hours but i can't find the right solution for my problem.
my problem is a simple one:
i have the file "C:\test\aFile. txt" and wants to zip it to "C:\test\aFile. zip" .
Also the created zip-File should be protected with a password.
The first part (zipping) isn't difficult, but the second one (protecting with password) is difficult.
How can i reach my goal by using java? can you send me an example?
Please help.
bye
i have been searching for hours but i can't find the right solution for my problem.
my problem is a simple one:
i have the file "C:\test\aFile. txt" and wants to zip it to "C:\test\aFile. zip" .
Also the created zip-File should be protected with a password.
The first part (zipping) isn't difficult, but the second one (protecting with password) is difficult.
How can i reach my goal by using java? can you send me an example?
Please help.
bye