cancel
Showing results for 
Search instead for 
Did you mean: 

Winzip with password protection

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.