-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Storage] az storage fs directory upload/download: Support adls gen2 file system directory upload&download
#17292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Storage |
src/azure-cli/azure/cli/command_modules/storage/operations/azcopy.py
Outdated
Show resolved
Hide resolved
| file_client = client.get_file_client(file_path=namespace.destination_path) | ||
| try: | ||
| props = file_client.get_file_properties() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make sure it works for both file and directory scenario. There are two clients in datalake: FileClient and DirectoryClient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Both file and directory can work well with file client. The props returned can distinguish directory from file.
Description
Feature request from #15200
Testing Guide
az storage fs directory uploadaz storage fs directory downloadHistory Notes
[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.