login about faq

Hi,

Why are the files not password protected with below code:

chilkatZip As Zip = New Zip() chilkatZip.UnlockComponent(ChilkatLicense) chilkatZip.FileName = zipFileName chilkatZip.AppendOneFileOrDir(fileName, True) chilkatZip.Zipx = True chilkatZip.ZipxDefaultAlg = "bzip2" chilkatZip.Encryption = EncryptionAlgorithm.PkzipWeak chilkatZip.SetPassword("password") chilkatZip.SetCompressionLevel(9) chilkatZip.WriteZipAndClose()

Please suggest the appropriate way to apply password for all the files inside zip file.

Chilkat version used - 9.5.0.64

Thanks, Harshal A.

asked Dec 22 '16 at 01:48

Harshal's gravatar image

Harshal
1

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×98
×22

Asked: Dec 22 '16 at 01:48

Seen: 401 times

Last updated: Dec 22 '16 at 01:48

powered by OSQA