[
  {
    "Id": "104248",
    "ThreadId": "31358",
    "Html": "I'm new to the DotNetZip Library, so forgive my stupid question/post.&nbsp; I may have found a bug when writing data to a zip file.&nbsp; After adding items to the zip archive, the zip file itself is blank when I open it using Windows XP Pro SP2 Windows Explorer.&nbsp; <br>\r\n<br>\r\nHere is my code...<br>\r\n<br>\r\n<span style=\"font-size:13px\">\r\n<p>&nbsp;</p>\r\n</span>\r\n<p><span style=\"font-size:13px;color:#0000ff\">Dim</span><span style=\"font-size:13px\"> oZip </span><span style=\"font-size:13px;color:#0000ff\">As</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#0000ff\">New</span><span style=\"font-size:13px\"> Ionic.Utils.Zip.ZipFile(</span><span style=\"font-size:13px;color:#a31515\">&quot;myzip.zip&quot;</span><span style=\"font-size:13px\">)<br>\r\noZip.AddFile(</span><span style=\"font-size:13px;color:#a31515\">&quot;.\\done.txt&quot;</span><span style=\"font-size:13px\">)<br>\r\noZip.Save()\r\n<p>&nbsp;</p>\r\n</span></p>\r\nI came across this problem when I was trying to allow a user to enter a wildcard, like *.*. I used the System.IO.Directory.GetFiles(&quot;.\\&quot;,&quot;*.*&quot;) to specify the current folder, then loop through those files and add them using Zip.AddItem. Nothing was showing up!!&nbsp; WinRAR shows the files, but Windows XP Built-in compression didn't.&nbsp; I was curious, so after further research I found that if I designated the current folder using &quot;.\\&quot; then it would reproduce the same results.&nbsp; Instead of using &quot;.\\&quot; in my code, I am now using System.IO.Directory.GetFiles(System.IO.Directory.GetCurrentDirectory,&quot;*.*&quot;)&nbsp; This doesn't produce an error.&nbsp; Can someone confirm that I am not crazy?? Thanks in advance.<br>\r\n<br>\r\n-Jon<br>\r\n<br>\r\n",
    "PostedDate": "2008-07-11T14:19:36.007-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "104260",
    "ThreadId": "31358",
    "Html": "maybe not such a dumb question. <br>\r\nlet me look.\r\n",
    "PostedDate": "2008-07-11T15:25:08.503-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "104268",
    "ThreadId": "31358",
    "Html": "<p>You are not crazy.&nbsp; It's a bug.&nbsp; I'll strip the leading dot.&nbsp; </p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2008-07-11T16:18:32.79-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]