login about faq

Greetings, sir, hope all are fine on this forum

i am working on zip project. Where i need to encrypt a file. but problem is if i use :

zip.Encryption, zip.EncryptKeyLength and zip.SetPassword it encrypts all the files (zipEntries) but i need to encrypt only individual files

for example:

a.txt

b.txt ( i like to encrypt this file only)

c.txt

hope i am clear (sorry for my bad English)

thanks in advance..

best regards

asked Nov 29 '13 at 01:32

mAlam's gravatar image

mAlam
991215


One way to do this is to create the .zip first unencrypted, containing only those files that are not to be encrypted. After that is written, create a new instance of the zip object and set the encryption related properties to what is desired. Then call QuickAppend to append encrypted entries to the already-existing unencrypted .zip.

Please realize though, that most Zip utility programs or software probably won't be able to handle .zip's containing both encrypted and unencrypted entries. Chilkat Zip, however, should be able to handle these without a problem.

link

answered Dec 16 '13 at 10:48

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

sir, thanks a lot for your help. however sir, i have faced a 911/urgent problem and post a question 5+ days ago but no one answered yet. would you please have a look at that question please?

php 5.4 issue on 64 bit

(Jan 08 '14 at 12:52) mAlam

any one please?

(Jan 19 '14 at 13:11) mAlam

still no luck?

(Jan 27 '14 at 10:16) mAlam
Your answer
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:

×96
×35
×9

Asked: Nov 29 '13 at 01:32

Seen: 983 times

Last updated: Jan 27 '14 at 10:16

powered by OSQA