on 07-19-2012 1:01 PM
Hi,
We Have a requirement to create a program which will be executed in background.The program will create XML/XLS file which needs to be password protected and this attachment should be sent in an email.
We had tried the option of zipping the file and then add the password to the zip file.
Need to understand in detail how this works. What are the commands to be used on command line.
I think installing the winzip command line add on has to be also installed on SAP server.
Any pointers will be helpful.
Regards,
Mallika.
Hi,
there are many ways how you can do this task:
1. use a command line ZIP with password (you need to find a command line zip utility which allows zipping with pass) and start it as an OS command from the file adapter for example
2. you can also do the zipping inside an adapter module (in java there are plenty of zipping libraries which you can use)
BTW
it's not possible with the standard ZIP bean,
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are trying to proceed in this direction...
1. We are currently having UNIX server and so will be using gzip instead of winzip
2. Place the zip file on the application server
3. add password to the file on application server using external commands
4. read back the file from application server.
What is not clear here is, what is the syntax that we need to use to build the commands to add the password to the file on application server. No clue on how commands are build at unix.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.