Reputation: 36573
The REST API documentation for the Azure File Service indicates that it can take a prefix for ListDirectoriesAndfiles(), but this only seems to only return direct descendants. Is it possible to get all descendants in a single request like it is with Blob storage?
Upvotes: 1
Views: 1493
Reputation: 136196
Is it possible to get all descendants in a single request like it is with Blob storage?
No. The operation will list only 1 level of descendants. Essentially ListDirectoriesAndfiles()
is a wrapper over List Directories and Files
REST API operation. From the REST API documentation:
The List Directories and Files operation returns a list of files or directories under the specified share or directory. It lists the contents only for a single level of the directory hierarchy.
Upvotes: 1