Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

jdbenjamin's avatar
jdbenjamin
New member | Level 2
8 years ago

All file names and meta data

Does anyone know how I can get a list of every single file I have in my dropbox and it's respective metadata for each file, e.g. file size, file type etc? Managed to get the list of the top directory with the folder names and the files there, but I'm looking for a list of every individual file in it.

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    To list every file and folder, you can use the "recursive" option for list_folder. E.g., with the Python SDK, call files_list_folder with path="" and recursive=True. Make sure you also keep calling back to files_list_folder_continue if/as necessary, as indicates by the has_more value in the result.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!