title: Uploading large file (10+ GB) from Web client via azure web site to azure blob storage
body: <p>I've got a bit of a problem in uploading a really large file into azure blob storage.</p>
  
  <ul>
  <li>I have no problem uploading that file into the web site as a file
  upload in an upload directory.</li>
  <li>I have no problem either putting this into the blob storage, as chunking will be handled internally.</li>
  </ul>
  
  <p>The problem I'm having is that the time it takes to move the large file from the upload directory to the blob storage takes longer than the browser timeout and the customer sees an error message.</p>
  
  <p>As far as I know, the solution is to chunk-upload directly from the web browser.</p>
  
  <p>But how do I deal with the block ids? Since the web service is supposed to be stateless, I don't think I can keep around a list of blocks already uploaded.</p>
  
  <p>Also, can the blob storage deal with out-of-order blocks?</p>
  
  <p>And do I have to deal with all the state manually?</p>
  
  <p>Or is there an easier way, maybe just handing the blob service the httprequest input stream from the file upload post request (multipart form data)?</p>
  
  <p>Lots of Greetings!</p>