2

I have compressed file by 7-zip using Execute Process Task in SSIS. Now i have to set password to zip file How can i achieve that ?

Execute Process Task process tab

Hadi
  • 36,233
  • 13
  • 65
  • 124
vinoth kumar
  • 216
  • 4
  • 15

1 Answers1

1

I dont think this is a ssis issue. You have to take a look at 7zip command line user guide and check if this option is provided.

Also there are other useful links:

Update 1

I think this is the link you are looking for

Community
  • 1
  • 1
Hadi
  • 36,233
  • 13
  • 65
  • 124
  • Thank you very much @Hadi I am able to set password for file by specifying Arguments as **a "data.zip" -psecret "data.xls"** Is there anyway to set password to open zip file itself – vinoth kumar Apr 12 '17 at 08:35
  • @vinothkumar password is needed when extracting files from archive not openning it. And the command is found in the link i provided – Hadi Apr 12 '17 at 10:03
  • 1
    Yeah i just opened not extracted it's working perfectly Thank you very much for your time :) – vinoth kumar Apr 12 '17 at 11:30