-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az storage blob upload - early fail on overwrite error #25019
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamStorageaz storageaz storageact-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
Metadata
Metadata
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamStorageaz storageaz storageact-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
It is quite reasonable that the tool reports an error at the start of the upload. That is the primary use case. It is very unexpected that the file will be removed during the upload. More likely the user is uploading a blob and is unaware of that it already exists. It is therefore better not to waste resources on uploading data that will be discarded.
An example: