[
  {
    "Id": "498520",
    "ThreadId": "228602",
    "Html": "<p>If the file size &nbsp;= 0 byte and we are providing password in it. Then for those 0 byte file , DotNetZip doesn't work. What should I do ? However if the file size is not equal to 0 byte then password protection works.</p>",
    "PostedDate": "2010-09-26T02:00:41.703-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "499739",
    "ThreadId": "228602",
    "Html": "What do you mean, exactly, by &quot;DotNetZip doesn't work&quot;?\r\n\r\nWhat so you expect to happen? and what does actually happen?\r\n\r\nYou should be aware that it is impossible to encrypt a zero-byte message.  Applying a password to a zero byte message gets you a zero byte message.  \r\n\r\nTherefore, in the case of a zero-byte file, dotnetzip does not perform any encryption.\r\n",
    "PostedDate": "2010-09-28T21:22:40.573-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "499791",
    "ThreadId": "228602",
    "Html": "<p>I mean suppose we create an empty file (.txt) and save it. Then using Winzip , if we compress it with password then even the empty file will be password protected.</p>\r\n<p>The same thing we can't obtain through DotNetZip if the file size = 0 byte. In other cases it works fine ( not 0 byte).&nbsp;</p>",
    "PostedDate": "2010-09-29T00:48:00.51-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "500497",
    "ThreadId": "228602",
    "Html": "What I understand then, is that DotNetZip behaves differently than Winzip.  I dont see that as an error or a bug.  I do not see it as a problem.  I'm willing to listen to your reasoning that the current behavior is a bona fide bug, but at the moment, I am skeptical.",
    "PostedDate": "2010-09-30T06:21:15.09-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "503354",
    "ThreadId": "228602",
    "Html": "<p>Hi Cheeso,</p>\r\n<p>DotNetZip might behaves differently than winzip but as i try with SharpZipLib It will prompt for password even for 0 byte file. So I am confused. &nbsp;Can't we have latest DotNetZip Library that even solves this issue. Please ! suggest.</p>",
    "PostedDate": "2010-10-06T21:00:52.507-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "507426",
    "ThreadId": "228602",
    "Html": "<p>I'm not sure what &quot;solution&quot; you are looking for.&nbsp; I think what you are asking is for DotNetZip to behave differently.&nbsp; At this point I am not convinced that it is appropriate, necessary, or even correct.</p>\r\n<p>As I said, I am willing to listen to a justification for the proposed change, but &quot;SharpZipLib does it this way&quot; is not a justification.</p>\r\n<p>Stepping back, what problem does this cause for you? &nbsp;Maybe if I understood your situation better it would make more sense to me.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-10-14T13:42:43.11-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "507429",
    "ThreadId": "228602",
    "Html": "This discussion has been copied to a work item. Click <a href=\"http://dotnetzip.codeplex.com/workitem/12240\">here</a> to go to the work item and continue the discussion.",
    "PostedDate": "2010-10-14T13:45:04.163-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]