[
  {
    "Id": "481646",
    "ThreadId": "223890",
    "Html": "If a program crashes where there are no exceptions to be caught (i.e. computer is turned off suddenly), the ZipOutputStream close/dispose method is not called and the resulting zip file is corrupt.\r\n\r\nIs there anyway to prevent corruption?\r\n\r\nThanks.",
    "PostedDate": "2010-08-17T19:06:10.72-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "482683",
    "ThreadId": "223890",
    "Html": "You'll need to adopt coding practices that handle such cases.  For example, save to a temporary file and rename it to the final (permanent) filename only if the save completes successfully.  Or, save in batches.  Or, both.\r\n\r\n\r\ngood luck.",
    "PostedDate": "2010-08-20T03:52:40.553-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]