This project is read-only.

AddEntry with directory path?

Jun 7, 2010 at 12:59 PM
Edited Jun 7, 2010 at 5:12 PM

How can I add a new directory entry to a new zip archive?

I found an example for creating an EPub file with version 1.8 but can't make it work with AddEntry method of version 1.9.

Do I have to create the directory first or just put the name of the directory before the entry name?

many thanks,


PS: The method change is mentioned in the "What's new?`" list - I found the old version a little handier (I could switch to the old version of course)


Jun 14, 2010 at 11:28 PM

There is an AddDirectoryByName() method, I believe, suited to your purpose.