Skip to content

Commit 32c4ffe

Browse files
authored
Merge pull request #110268 from KranthiPakala-MSFT/patch-43
(AzureCxp) fixes MicrosoftDocs/issues/51566
2 parents 89f0287 + 550209d commit 32c4ffe

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)