Answer the question
In order to leave comments, you need to log in
DotNetZip crashes when creating multi-volume archives, why?
Let me leave here a link to this stackoverflow question: goo.gl/LZmURA
I'm trying to create a multi-volume archive, while the first volume is always created successfully, and when trying to create the second volume, the error "System.UnauthorizedAccessException: Access to the path is denied" occurs.
I tried everything that was enough for imagination - no use. Please help.
Answer the question
In order to leave comments, you need to log in
Let me give you some advice on the code.
Instead of
if (!Directory.Exists(zipFolder)) Directory.CreateDirectory(zipFolder);
if (!Directory.Exists(TaskZipFolder)) Directory.CreateDirectory(TaskZipFolder);
it was possible to write simply Directory.CreateDirectory(TaskZipFolder);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question