Skip to content
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

Get all files in a folder recursively #558

Open
hbi99 opened this issue Nov 24, 2020 · 5 comments
Open

Get all files in a folder recursively #558

hbi99 opened this issue Nov 24, 2020 · 5 comments

Comments

@hbi99
Copy link

hbi99 commented Nov 24, 2020

It would be great if the SDK offered a way to get all files regardless of "depth". In issue #271, there is a suggestion to use iterators and that in turn results in chained promise requests. I can't imagine this is the optimal way to do such procedure. The SDK client should make one request and the API server should climb down iteratively. Preferably something like this:

client.folders.getItems('0', { recursive: true })

The API, SDK, Control Panel and the documentation looks awesome - supreme when compered to MS OneDrive for instance. But they do not support recursive option either while many other cloud storage SDK's do. I hope you will consider adding this feature.

Thanks in advance

@sujaygarlanka
Copy link
Contributor

@hbi99 Thank you for the complement and feedback! We will pass on the feedback to the team that maintains the Folder API.

@tushar21
Copy link

Any update on this feature?

@congminh1254
Copy link
Member

HI @tushar21

Unfortunately, until now, the Box API still hasn't supported getting items recursively, so we can't proceed with this enhancement yet, we will contact to the API team again and ask if they will support it in the near future.

Best,
Minh

@vaish2510
Copy link

Will this ever be taken by the team?
Would be of much help if recursively getting the nested folders is supported via the folders api

@lukaszsocha2
Copy link
Contributor

Hi,
currently there are no plans to implement these feature in a near future. However I advice to add your idea for enhancement to Box Pulse. If a lot of people vote for this feature it might get a higher priority.
Best,
@lukaszsocha2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants