none
Blob storage - Uploading same file name twice

    Question

  • Hi,

    I uploaded a file to blob say myfile.txt with GUID metadata. Now If I try to add same file (myfile.txt) with different GUID metadata, original file gets replaced.

    How I can have two records of same file in blob storage? (without using different names)

    If it is not supported in blob storage then what is the reason behind?

    Regards,

    Kunal


    Mark As Answer if it helps you | My Blog
    Monday, October 31, 2011 7:36 AM

Answers

  • -- How I can have two records of same file in blob storage? (without using different names)

    The second upload completely replaces the first. The metadata is irrelevant. The following is documented:

    Updating an existing block blob overwrites any existing metadata on the blob. Partial updates are not supported with Put Blob; the content of the existing blob is overwritten with the content of the new blob.

    Monday, October 31, 2011 6:34 PM
    Answerer