[
  {
    "Id": "856532",
    "ThreadId": "361735",
    "Html": "\r\n<p>Hello,</p>\r\n<p>I create a csv file say c:\\tmp\\myfolder\\mydata.csv</p>\r\n<p>when I use zipfile to zip to mydata.zip, it works fine.</p>\r\n<p>when I double click the zip file, I see the first leve is c:\\, then next level is tmp, then myfolder, then the file mydata.csv.</p>\r\n<p>What I want in zip is just mydata.csv, so when I double click mydata.zip,&nbsp; I will see the file mydata.csv only, i.e. without directory info.&nbsp;&nbsp; How to accomplish this?</p>\r\n<p>&nbsp;</p>\r\n<p>I found it, thanks</p>\r\n<p><a href=\"http://dotnetzip.codeplex.com/workitem/11987\">http://dotnetzip.codeplex.com/workitem/11987</a></p>\r\n<p>Thanks</p>\r\n",
    "PostedDate": "2012-07-02T13:37:50.243-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "859550",
    "ThreadId": "361735",
    "Html": "<p>you need to write code like mentioned below&nbsp;</p>\r\n<p><code class=\"plain\">createZipFile.AddFile(fileLocation, </code><code class=\"keyword\">string</code><code class=\"plain\">.Empty);</code></p>\r\n<p>adding string.empty will remove the directory structure&nbsp;</p>\r\n<p>refer links for more info&nbsp;</p>\r\n<p><a href=\"http://csharpdotnetfreak.blogspot.com/2012/06/create-zip-files-in-aspnet-c-vb.html\">http://csharpdotnetfreak.blogspot.com/2012/06/create-zip-files-in-aspnet-c-vb.html</a></p>\r\n<p><a href=\"http://csharpdotnetfreak.blogspot.com/2012/07/download-multiple-files-as-zip-aspnet.html\">http://csharpdotnetfreak.blogspot.com/2012/07/download-multiple-files-as-zip-aspnet.html</a></p>\r\n<p><a href=\"http://csharpdotnetfreak.blogspot.com/2012/07/upload-unzip-extract-zip-files-aspnet.html\">http://csharpdotnetfreak.blogspot.com/2012/07/upload-unzip-extract-zip-files-aspnet.html</a></p>",
    "PostedDate": "2012-07-10T02:40:55.96-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "1039132",
    "ThreadId": "361735",
    "Html": "Any support for discarding the directory structure of a zip file not created by DotNetZip, like the behavior of InfoZip's unzip -j flag?<br />\n<br />\nAnswered earlier, thank you:<br />\n<a href=\"https://dotnetzip.codeplex.com/discussions/83773\" rel=\"nofollow\">https://dotnetzip.codeplex.com/discussions/83773</a><br />\n",
    "PostedDate": "2013-05-03T10:49:54.43-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]