[
  {
    "Id": "238928",
    "ThreadId": "70146",
    "Html": "<p>i have a problem with library, i use the function FlattenFoldersOnExtract but this no is operative, i want compress a file, this exist in <br>C:\\Inetpub\\wwwroot\\MyCompany\\Archivos<br>the zip create the structure on similar a this<br>Oscar4.Zip\\Inetpub\\wwwroot\\SisMaster\\Archivos - archivo ZIP, tama&ntilde;o descomprimido 36 bytes<br>this an error, because show my configuration folder in asp .net, this a warning of security.<br>I test with<br>FlattenFoldersOnExtract = False or FlattenFoldersOnExtract = true</p>",
    "PostedDate": "2009-09-25T12:12:00.7-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "239037",
    "ThreadId": "70146",
    "Html": "<p>You are misunderstanding the purpose of the FlattenFoldersOnExtract property.</p>\r\n<p>The FlattenFoldersOnExtract works only when you <em>extract </em>the archive.&nbsp; Not when you create the archive.</p>\r\n<p>If you want to remove the path when you <em>create </em>the archive, then you need to use the AddFile() or AddDirectory() method that accepts a <strong>directoryPathInArchive</strong> parameter. Specify &quot;&quot; (an empty, non-Nothing&nbsp;string).</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-09-25T19:14:45.633-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]