cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We love to hear how every person gets the most from Dropbox, and it seems everyone has a slightly different use for it - tell us yours here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

List ALL folders and files on my dropbox account

List ALL folders and files on my dropbox account

prueba p.1
New member | Level 1

Hi, i'm working on c# and i can just show the files on the root directory , i want to show all the folders and files inside this folders on the root directory, didn't see anything on the forum, any idea?

 

Thx

8 Replies 8

Re: List ALL folders and files on my dropbox account

prueba p.1
New member | Level 1

i solved the problem, if anyone wants the code can send it

Re: List ALL folders and files on my dropbox account

newbie
New member | Level 2

Hello. I'm newbie here and in c#.

Can you help me too with list folders on dropbox?

Thank you.

Re: List ALL folders and files on my dropbox account

Greg-DB
Dropboxer

To list files and folders in a linked Dropbox account using the official Dropbox .NET SDK, you should use the listFolder and listFolderContinue methods.

 

There are some simple examples here:

 

(Note that these are simplified examples. In your actual app, you should make sure to check ListFolderResult.HasMore to see if there are more results to fetch using listFolderContinue.)

Re: List ALL folders and files on my dropbox account

saravananct143
Explorer | Level 3

I want code, using rest api, how can retrive all the files in dropbox folder 

Re: List ALL folders and files on my dropbox account

Greg-DB
Dropboxer

@saravananct143 I see you also opened a new thread for this so we'll follow up there:

 

https://www.dropboxforum.com/t5/API-support/How-to-List-all-files-in-the-Dropbox-folder-using-Web-Re...

 

Re: List ALL folders and files on my dropbox account

Sajidbalti
New member | Level 2

Please send code on [email address removed by Moderators to align with our Community's Guidelines]

Re: List ALL folders and files on my dropbox account

ahmedcoo
New member | Level 2

hello 

i need to list all files in my dropbox in c# could u help me

thank you

Re: List ALL folders and files on my dropbox account

Greg-DB
Dropboxer

@ahmedcoo For information on how to list all of the files/folders in an account using the Dropbox API in C# via the official Dropbox .NET SDK, please refer to my earlier comment here:

 

https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-ALL-folders-and-files-on-my-dropbo...

 

To list everything starting at the home folder, you'd want to use the empty string "" as the path, and set recursive to true when first calling ListFolderAsync.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    ahmedcoo New member | Level 2
  • User avatar
    Sajidbalti New member | Level 2
  • User avatar
    saravananct143 Explorer | Level 3
What do Dropbox user levels mean?
Need more support?