Skip to content

Commit 550209d

Browse files
(AzureCxp) fixes MicrosoftDocs/issues/51566
Fixed code to resolve MicrosoftDocs/azure-docs/issues/51566
1 parent 89f0287 commit 550209d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/storage/blobs/data-lake-storage-directory-file-acl-python.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ def download_file_from_directory():
293293

294294
file_client = directory_client.get_file_client("uploaded-file.txt")
295295

296-
downloaded_bytes = file_client.read_file()
296+
download = file_client.download_file()
297+
298+
downloaded_bytes = download.readall()
297299

298300
local_file.write(downloaded_bytes)
299301

0 commit comments

Comments
 (0)