Hi All,
As per my requirement, I need to decrypt the password zip file and load into data into template table and Once loaded completed into a temp table, we should zip files and encrypt the password to that zip file. Can you please provide the script for zipping and unzip password protect?
for decrypt password zip file I have done below command script in the command line prompt
C:\Murali\Incoming>unzip -PWelcome123 Test.zip
it successfully unzips the files and loaded into a folder
using same script ( C:\Murali\Incoming>unzip -PWelcome123 Test.zip ), I have created a bat file with the name of Test.bat
and I called this bat file in BODS script using exec function, but I am getting below error.
4232 | 7412 | JOB | 7/2/2016 1:03:22 PM | Optimizing job <FlatFiles>. |
4232 | 7412 | JOB | 7/2/2016 1:03:22 PM | Job <FlatFiles> is started. |
4232 | 7412 | PRINTFN | 7/2/2016 1:03:22 PM | 1: C:\Program Files (x86)\Business Objects\BusinessObjects Data Services\bin>C:\Murali\Incoming -PWelcome123 Test.zip |
4232 | 7412 | PRINTFN | 7/2/2016 1:03:22 PM | 1>unzip 'C:\Murali\Incoming' is not recognized as an internal or external command, operable program or batch file. |
4232 | 7412 | JOB | 7/2/2016 1:03:22 PM | Job <FlatFiles> is completed successfully. |
Please help me for past 3 weeks I have been trying on this requirement, but no luck as of now
Thanks and Regards,
Murali