title: uploading same file to Azure Blob storage without overwriting?
body: <p>I am using Azure Storage JavaScript Client Library for uploading the file to  azure storage by referring this link 
  <a href="https://dmrelease.blob.core.windows.net/azurestoragejssample/samples/sample-blob.html" rel="nofollow noreferrer">https://dmrelease.blob.core.windows.net/azurestoragejssample/samples/sample-blob.html</a></p>
  
  <p>The below code is my upload snippet to azure storage (Which takes file and store it in storage)</p>
  
  <pre><code>var speedSummary = blobService.createBlockBlobFromBrowserFile('mycontainer', file.name, file, {blockSize : customBlockSize}, function(error, result, response) {
      finishedOrError = true;
      if (error) {
          // Upload blob failed
      } else {
          // Upload successfully
      }
  });
  </code></pre>
  
  <p>The main problem is when I upload the same file again. It is overwriting the file. Is there any property or header that can be added to prevent overwriting. I want duplicate files also to be stored without overwriting</p>
  
  <p>Please help me to resolve this issue. 
  Thanks in advance.</p>