Skip to content

Get all files in a folder recursively #558

Open

Description

@hbi99

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

Activity

  1. sujaygarlanka commented on Nov 24, 2020

    @sujaygarlanka
    Contributor

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

  2. tushar21 commented on Jan 17, 2023

    @tushar21

    Any update on this feature?

  3. congminh1254 commented on Jan 17, 2023

    @congminh1254
    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

  4. vaish2510 commented on Jul 3, 2024

    @vaish2510

    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

  5. lukaszsocha2 commented on Jul 3, 2024

    @lukaszsocha2
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions