list_blobs only list 5000 elements #392
Labels
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Hi all,
I am trying to download a "folder" inside of a blob container keeping the original tree folder structure. This "folder" contains millions of files.
For this reason first I run list_blobs just to obtain the list of blobs and then download the blobs using get_blob_to_path.
blobs = blob_service.list_blobs('blob_container','data/projects/folder')
for blob in blobs:
print(blob.name)
this function only shows the first 5000 blobs inside of data/projects/folder, but as I said, I have millions of files.
Any idea why this loop only shows the first 5000 elements?
Any other suggestion to download millions of files inside of a blob container?
Thanks in advance and best regards?
The text was updated successfully, but these errors were encountered: