You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

trithanhnguyen's avatar
trithanhnguyen
Helpful | Level 6
3 years ago

dbxClient.files().listFolder("") only returns 1 folder

I want to list all the files under my member ID. I use the following code and it only show 1 folder even though I have 8 folders starting from root.   DbxClientV2 dbxClient = dbxTeamClient.asMemb...
  • Здравко's avatar
    Здравко
    3 years ago

    trithanhnguyen wrote:

    ... Do I need to do some extra setup to list all 3 folders. Thanks.


    In all cases you need to set your root to appropriate one using withPathRoot in addition to asMember, if desired folders reside in out of your account's user/member home (as seems it is).