Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

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).