[
  {
    "Id": "132400",
    "ThreadId": "39885",
    "Html": "<span style=\"font-size:13px;color:#000000\">In my ASP.NET Web App I am trying to save a .txt into a zip so I can ftp it over to google base. The problem I am having is the entire directory structure is being added to the zip file not just the .txt document.<br>\r\n<br>\r\nExample of what I am getting:<br>\r\n-zipname.zip<br>\r\n--Inetpub<br>\r\n---wwwroot<br>\r\n----googlefeed<br>\r\n-----file.txt<br>\r\n<br>\r\nI need it to be:<br>\r\n-zipname.zip<br>\r\n-file.txt<br>\r\n<br>\r\nThe zip saves in the correct location, I just need get rid of the directory structure. Any Ideas?</span>\r\n<p><span style=\"font-size:13px\">(</span><span style=\"font-size:13px;color:#2b91af\">ZipFile</span><span style=\"font-size:13px\"> zip = </span><span style=\"font-size:13px;color:#0000ff\">new</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#2b91af\">ZipFile</span><span style=\"font-size:13px\">(</span><span style=\"font-size:13px;color:#a31515\">@&quot;C:\\Inetpub\\wwwroot\\googlefeed\\zipname.zip&quot;</span><span style=\"font-size:13px\">))<br>\r\n{<br>\r\nzip.AddFile(</span><span style=\"font-size:13px;color:#a31515\">@&quot;C:\\Inetpub\\wwwroot\\googlefeed\\file.txt&quot;</span><span style=\"font-size:13px\">);<br>\r\nzip.Save();<br>\r\n}\r\n<p> </p>\r\n</span></p>\r\n<p>&nbsp;</p>\r\n<p> </p>\r\n",
    "PostedDate": "2008-11-13T11:38:05.297-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "132412",
    "ThreadId": "39885",
    "Html": "Found solution in docs!<br>\r\n<br>\r\nzip.AddFile(@&quot;c:Inetpub\\wwwroot\\googlefeed\\file.txt&quot;, &quot;&quot;);<br>\r\n",
    "PostedDate": "2008-11-13T13:09:19.303-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]