List of Folders?

Nov 12, 2010 at 3:34 PM

Is it possible to get a list of folders in a ZIP file?  I can go through all the entries and strip off the folder part, but if there's a more elegant way I'd certainly use it.

Thanks in advance.

(And a GREAT library!!!)

Coordinator
Nov 12, 2010 at 6:46 PM

No - there is no property or method that delivers the list of folders.  The way you propose to do it is the best.

You may want to have a look at the example application (in VB.NET) that is shipped with the DotNetZip source that displays the contents of a zip in an Explorer-like TreeView.  http://dotnetzip.codeplex.com/SourceControl/changeset/view/65587#

 

 

Nov 12, 2010 at 11:14 PM

Thanks, Cheeso…