[
  {
    "Id": "503017",
    "ThreadId": "229821",
    "Html": "<p>I suspect this is a very easy question, but I'm banging my head on the syntax.&nbsp; I simply want to always use zip64 option in creating zips with my Powershell script.&nbsp; Here's the script I'm using:</p>\r\n<p>[System.Reflection.Assembly]::LoadFrom(&quot;c:\\temp\\Ionic.Zip.dll&quot;);<br>$zip =&nbsp; new-object Ionic.Zip.ZipFile<br>$zip.Zip64Option.Always<br>$zip.AddFile(&quot;C:\\temp\\test.txt&quot;);<br>$zip.Save(&quot;C:\\temp\\test.zip&quot;)<br>$zip.Dispose()</p>\r\n<p>But the&nbsp;&quot;Is Zip64?&quot; always still says false.</p>\r\n<p>Any suggestions?</p>\r\n<p>Thanks!</p>\r\n<p>Emo</p>",
    "PostedDate": "2010-10-06T08:12:42.77-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "503033",
    "ThreadId": "229821",
    "Html": "<p>Unless I'm looking at this the wrong way.&nbsp; I guess that's the file properties before it's zipped?</p>\r\n<p>And, should the syntax be &quot;$zip.UseZip64WhenSaving = [Ionic.Zip.Zip64Option]::Always&quot;?</p>",
    "PostedDate": "2010-10-06T08:46:54.277-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "503135",
    "ThreadId": "229821",
    "Html": "<p>Well it looks like either one works ($zip.Zip64Option.Always or $zip.UseZip64WhenSaving = [Ionic.Zip.Zip64Option]::Always)...as if I take the line out altogether, and try to zip over 4 gigs it errors out and suggests using zip64.&nbsp; And if I use either of those two line, it works.</p>\r\n<p>Guess I might have answered my own question :)</p>",
    "PostedDate": "2010-10-06T11:33:08.51-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "503329",
    "ThreadId": "229821",
    "Html": "<p>Thanks for <span style=\"text-decoration:line-through\">asking</span> answering your own question. The IsZip64 property is really only valid for zipfiles that get read. You are creating or writing a zip file. <br><br>There is some confusion about which properties apply, when... This is why I named the property in question with the <strong>...WhenSaving </strong>suffix. I was attempting to be clear about when that property would have an effect. <br><br>Side note: The problem is, there are numerous phases - reading, saving, etc. Eliminating that confusion is a goal of the v2.0 DotNetZip, which will organize saving and reading options into separate buckets, to be more explicit about when they apply.&nbsp; The save bucket will be called SaveOptions, I think.&nbsp; So you'll have a property like SaveOptions.UseZip64, and so on.</p>",
    "PostedDate": "2010-10-06T18:51:21.903-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]