Azure / Azure/azure-cli

[Storage] `az storage fs file upload` does not overwrite existing blob with new 0 bit files.

Open
#31,220 3 comments 0 reactions 2 assignees Claimed by @evelyn-ys View on GitHub
act-codegen-extensibility-squad Auto-Assign Auto-Resolve Azure CLI Team bug Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

`az storage fs file upload` does not overwrite existing blob with new 0 bit files.

### Related command

`az storage fs file upload`

### Errors

Empty log, no request sent to server

### Issue script & Debug output

N/A

### Expected behavior

Should overwrite

### Environment Summary

azure-cli 2.70.0

core 2.70.0
telemetry 1.1.0

Extensions:
application-insights 1.2.2
copilot 1.0.0b9
elastic-san 1.0.0
virtual-wan 1.0.1
copilot 1.0.0b8 (dev) C:\Users\zhiyihuang\Repos\azure-cli-extensions\src\copilot

Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1

Python location 'C:\Users\zhiyihuang\Repos\py312\Scripts\python.exe'
Config directory 'C:\Users\zhiyihuang\.azure'
Extensions directory 'C:\Users\zhiyihuang\.azure\cliextensions'
Development extension sources:
C:\Users\zhiyihuang\Repos\azure-cli-extensions

Python (Windows) 3.12.9 (tags/v3.12.9:fdb8142, Feb 4 2025, 15:27:58) [MSC v.1942 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.