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

Wei O.'s avatar
Wei O.
New member | Level 2
9 years ago

How to download files in a shared folder url with python api?

Hi I am trying to develop some script to download files shared by others, the shared url is linked to a folder, so how can download all the files in the folder.

I tried dbx.sharing_get_shared_link_file, but it's complaining that the it's a folder link.

And then I tried dbx.sharing_get_shared_link_metadata, I can only get the metadata, without even know what's inside the folder link.

Is there a way to list all the files and subfolders in the folder url and download them?

Thank you.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,888 PostsLatest Activity: 21 hours ago
326 Following

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

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!