Getting InvalidRange error when trying to download folders and files from file share via az storage file command
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Describe the bug**
When I try to download folders and files from Azure file share directory, I receive the below error -
HTTP status code=416, Exception=The range specified is invalid for the current size of the resource. ErrorCode: InvalidRangeInvalidRangeThe range specified is invalid for the current size of the resource
Though I can see it is downloading the files but looks like skipping the empty folders. I have also tried after deleting all the empty folders from file share but error is still there.
**To Reproduce**
To reproduce this error, try to download contents from Azure file share with "az storage file download-batch" command.
**Environment summary**
OS : RadHat Enterprise Linux 7.9
AZ CLI : 2.27.2
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.