title: Upload Big ZipArchive-MemoryStream to Azure
body: <p><strong>TL;DR</strong>: Is it possible to upload a big MemoryStream to Azure as chunks on the fly while zipping?</p>
  
  <p>I have files which get saved into a <code>MemoryStream</code>, I add these files to a <code>ZipArchive</code> in another MemoryStream.<br>
  This MemoryStream I want to upload to an <code>Azure-BlockBlob-Storage</code> using</p>
  
  <pre><code>blockBlob.UploadFromStream(zipMemoryStream);
  </code></pre>
  
  <p>So far so good.<br>
  The Problem now is, that the Zip-Archive might get bigger then <strong>8GB</strong> which is a problem with the MemoryStream.</p>
  
  <p>Is it possible to upload parts from the memory-stream as chunks to azure, and remove these bytes from the Stream?</p>
  
  <p>Or is there a better approach to deal with zipArchive and azure?</p>
  
  <p>For zipping I am using the class <code>ZipArchive</code> in the Package <code>System.IO.Compression</code>  </p>
  
  <p>Best Regards,<br>
  Flo</p>