[
  {
    "Id": "447902",
    "ThreadId": "213997",
    "Html": "<p>Hi,</p>\r\n<p>So I am having inconsistent success when saving a spanned archive. Here is my code:</p>\r\n<div style=\"color:black;background-color:white\">\r\n<pre><span style=\"color:gray\">[</span><span style=\"color:teal\">Reflection.Assembly</span><span style=\"color:gray\">]</span><span style=\"color:gray\">::</span>LoadFrom(<span style=\"color:#a31515\">&quot;C:\\Ionic.Zip.dll&quot;</span>)\r\n\t\t\r\n<span style=\"color:orangered\">$zipfile</span> <span style=\"color:gray\">=</span> new<span style=\"color:gray\">-</span>object Ionic.Zip.ZipFile\r\n\r\n<span style=\"color:orangered\">$zipfile</span>.AddDirectory(<span style=\"color:#a31515\">&quot;E:\\Temp\\Ghost 2.5&quot;</span>)\r\n\r\n<span style=\"color:orangered\">$zipfile</span>.MaxOutputSegmentSize <span style=\"color:gray\">=</span> 256MB\r\n<span style=\"color:orangered\">$zipfile</span>.UseZip64WhenSaving <span style=\"color:gray\">=</span> <span style=\"color:gray\">[</span><span style=\"color:teal\">Ionic.Zip.Zip64Option</span><span style=\"color:gray\">]</span><span style=\"color:gray\">::</span>AsNecessary\r\n\t\r\n<span style=\"color:orangered\">$zipfile</span>.Save(<span style=\"color:#a31515\">&quot;C:\\Documents and Settings\\arisman1\\Desktop\\test\\archive.zip&quot;</span>)\r\n<span style=\"color:orangered\">$zipfile</span>.Dispose()\r\n</pre>\r\n<pre><pre>The exception message is:</pre>\r\n<pre>Exception calling &quot;Save&quot; with &quot;1&quot; argument(s): &quot;Could not find file 'C:\\Documents and Settings\\arisman1\\Desktop\\test\\archive.z01'.&quot;</pre>\r\n<pre>&nbsp;</pre>\r\n<pre>As I watch the output being created in the output directory it goes like this:</pre>\r\n<pre>&nbsp;</pre>\r\n<pre>1. First temp is created (DotNetZip-xfpfzyvv.tmp) </pre>\r\n<pre>2. Renamed to archive.z01 (268435456 bytes)</pre>\r\n<pre>3. Second temp file is created (DotNetZip-cqpyp3kj.tmp) </pre>\r\n<pre>4. Renamed to archive.z02 (268435456 bytes)</pre>\r\n<pre>5. Third temp file is created (DotNetZip-fdlhhjbu.tmp)</pre>\r\n<pre>6. Third file grew to 62992952 bytes then was deleted</pre>\r\n<pre>7. Fourth temp file appears (DotNetZip-m1uevlkg.tmp), the initial file size is 268435456 and did not grow. </pre>\r\n<pre>8. The exception occurs</pre>\r\n<pre>9. The output folder is left with the forth temp file DotNetZip-m1uevlkg.tmp</pre>\r\n<pre>This exception occurs on specific input folders. The input folder the exception is consitently occuring on has: 1,239,685,110 bytes, 270 Files, 50 folders. The same code works on other input folders.</pre>\r\n<pre>This issue looks similar to: <a href=\"http://dotnetzip.codeplex.com/Thread/View.aspx?ThreadId=82929\">http://dotnetzip.codeplex.com/Thread/View.aspx?ThreadId=82929</a></pre>\r\n<pre>&nbsp;</pre>\r\n</pre>\r\n</div>",
    "PostedDate": "2010-05-26T16:41:36.517-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "447943",
    "ThreadId": "213997",
    "Html": "<p>To recreate the error I downloaded a file generator: <a href=\"http://www.softpedia.com/get/Others/Miscellaneous/SVL-Random-File-Generator.shtml\">http://www.softpedia.com/get/Others/Miscellaneous/SVL-Random-File-Generator.shtml</a>&nbsp;and generated a 512 MB file and put it in a folder all by itself. After that I added the directory to DotNetZip and attempted to save and received the same issue. It always appears to error with the z01 filename.</p>",
    "PostedDate": "2010-05-26T20:27:35.11-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]