Is is possible to decrypt a zip file in AS 400 with password using RPG/RPGLE? Which library I should use? Is there any example?
Asked
Active
Viewed 296 times
4
-
2Put your ZIP file on a IFS, add any C++ ZIP decrype library (zlib) and call the C++ function in your RPGLE programm – Radinator Feb 13 '19 at 12:14
-
Thx, will try it – Wisnu Widiarta Feb 14 '19 at 10:17
1 Answers
2
It's simplere then ever.
Just use Jar in a QSH Command to unzip files:
ex. QSH CMD('cd /dest_dir;jar -xvf /your_dir/fileName.zip')
You can embed it in a CL Program or an RPGLE (using "system").
Here is the official link: http://www-01.ibm.com/support/docview.wss?crawler=1&uid=nas8N1015312

M4mu5
- 93
- 1
- 8