cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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

10 Replies 10

prueba p.1
New member | Level 1

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

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.

Greg-DB
Dropbox Staff

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

saravananct143
Explorer | Level 3

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

Greg-DB
Dropbox Staff

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

 

Sajidbalti
New member | Level 2

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

ahmedcoo
New member | Level 2

hello 

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

thank you

Greg-DB
Dropbox Staff

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

abelmor
Explorer | Level 4

Send me the code for listing files and folders in Dropbox.   Louise

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    abelmor Explorer | Level 4
  • User avatar
    ahmedcoo New member | Level 2
  • User avatar
    Sajidbalti New member | Level 2
What do Dropbox user levels mean?