Yaron Levi
Yaron Levi

Reputation: 13085

Upload to Blob Storage while overwriting existing Blob

When using the StorageClient and calling UploadByteArray() with a blob name that already exists, will this cause any data corruption ? (In other words, do I have to call Delete() before uploading, which will cost another transaction ?)

Upvotes: 4

Views: 6632

Answers (1)

knightpfhor
knightpfhor

Reputation: 9384

You should just be able to call UploadByteArray() without having to do the delete first and it will overwrite the blob that is already there.

Upvotes: 4

Related Questions