We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Vinay1's avatar
Vinay1
New member | Level 2
3 months ago

Clarification on APIs and File Download Methods

Hi Team,

 

Could you please provide guidance on the following:

  1. Which APIs should we use when downloading specific user files from dropbox
  2. When is it appropriate to use the root namespace ID for accessing user files?
  3. If a user’s files are stored within nested folders, what is the recommended approach for downloading those files? Should we use recursive methods to navigate through the folder structure?

Looking forward to your insights.



Thank you.

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Vinay1 wrote:

     

    1. Which APIs should we use when downloading specific user files from dropbox

    ...


    /2/files/download

     


    Vinay1 wrote:

    ...

        2. When is it appropriate to use the root namespace ID for accessing user files?

    ...


    Whenever you need to access files residing outside member folder of a team member, using namespace ID becomes mandatory, otherwise - optional.

     


    Vinay1 wrote:

    ...

    3. If a user’s files are stored within nested folders, what is the recommended approach for downloading those files? Should we use recursive methods to navigate through the folder structure?

    ...


    It's rather matter of your design decision. All available methods are possible. Usually using refer to file/folder id is considered more secure.

    If you want to download entire folder at once, you may consider downloading zipped folder. After that you may unzip it if desirable (including "on flight").

    Good luck.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
326 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!