login about faq

Hi there,

currently we are creating zip files in c# using multiple calls of:

zip.AppendFromDir = "somedir1"; zip.PathPrefix = @"pathinzip"; success=zip.AppendFiles(".", true);

zip.AppendFromDir = "somedir2"; zip.PathPrefix = @"pathinzip2"; success=zip.AppendFiles(".", true);


success = zip.WriteZipAndClose();

Between the single zip.AppendFiles are several minutes we have to wait for a other task to finish creating the files. So it would be great, if we already can start the zip process in background and add the next path when it is ready. It are quite large files that are compressed, so starting the zip while creating the next file would save a lot of time. Is there a way to do this?

Kind regards Andreas

asked Sep 06 '15 at 12:56

aih's gravatar image


Great support here, that makes the decision easier if we extend the support or not

(Sep 17 '15 at 03:34) aih

Perhaps use the xxxxxAsync methods introduced a short while ago: http://www.chilkatsoft.com/refdoc/vcCkZipDoc.html#method505


answered Sep 06 '15 at 23:38

Gert's gravatar image

Gert ♦

Can i append more files when the method zip.WriteZip is already called? just appending the files async doesn't save much time, because the append doesn't take that much time but the zip.WriteZipAndClose() needs a lot of time.

(Sep 07 '15 at 00:42) aih
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: Sep 06 '15 at 12:56

Seen: 2,062 times

Last updated: Sep 17 '15 at 03:34

powered by OSQA