login about faq

I'm trying the CHILKAT ZIP but I have a question? How can I change the directory where the compressed file will be created?

asked Oct 23 '12 at 15:34

chilkat's gravatar image

chilkat ♦♦

If creating a completely new zip archive, then pass the absolute or relative directory path of the zip archive that is to be created to the NewZip method:


If opening an existing zip archive, adding files, and re-writing, then update the zip.FileName to the path of the .zip that is to be written prior to calling WriteZip. (This part of the API was poorly designed more than 10 years ago. It would've been better to simply pass the file path to the WriteZip method.)


answered Oct 23 '12 at 15:40

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Oct 23 '12 at 15:34

Seen: 1,196 times

Last updated: Oct 23 '12 at 15:40

powered by OSQA