This project is read-only.

ignore folder option?

Aug 25, 2009 at 5:33 PM


Does DotNetZip have a option to ignore the folder structure of contents in the zip file on extract?  what im refering to is a case where someone zips up a directory tree, but the recipient only wants to extract the files contained across all the folders to a single location.

Aug 25, 2009 at 5:42 PM
Edited Aug 25, 2009 at 6:21 PM

disregard. i found this in older posts which may work.

zip1.FlattenFoldersOnExtract = True

this does work!

there was an exception complaining that the target folder was in use when i was trying to view the extraction in progress. but closing the folder fixes that.