[
  {
    "Id": "807543",
    "ThreadId": "347853",
    "Html": "\r\n<p>I am creating a zip and it basically zips the files in the same folder structure for which they came. How can I eliminate that? I just want the files in a zip with no folders??</p>\r\n",
    "PostedDate": "2012-03-08T09:14:46.013-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "809057",
    "ThreadId": "347853",
    "Html": "<p>I am looking for the same thing. I am using the AddSelectedFiles functionality with a search criteria, and I can't figure out how to omit the&nbsp;directories&nbsp;and just get the files.</p>\n<p>I will keep looking, and watching this thread as well.</p>\n<p>Note:</p>\n<p>The documentation states that passing \"\" will place files in the root of the zip folder, without the sub-directories but, this is not working in my case. If I pass an empty string (\"\") I still get the sub-directories. The documentation is here:</p>\n<p><a href=\"http://cheeso.members.winisp.net/DNZHelp/\">http://cheeso.members.winisp.net/DNZHelp/</a></p>\n<p>In the treeview, expand Reference &gt;&gt; Ionic.Zip Namespace &gt;&gt; ZipFIle Class &gt;&gt; AddSelectedFiles Method, and look at the last overload.</p>",
    "PostedDate": "2012-03-12T06:00:42.86-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "917982",
    "ThreadId": "347853",
    "Html": "<p>hi,</p>\r\n<p>&nbsp;</p>\r\n<p>you can achieve it in the follwoing way&nbsp;</p>\r\n<p>&nbsp; ZipEntry e = ZipFile.AddFile(filename,\"<strong>Specify the File name you want in ZipFolder(you can aviod multiple folder creation)</strong>\");</p>\r\n<p>&nbsp;ZipFile.Save(\"Specify the Path you want to Save\");</p>",
    "PostedDate": "2012-09-26T10:43:25.33-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]