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
dmartinez
2 years agoExplorer | Level 3
download file from bussiness teams
So ihave a bussines teams folder inside i have some .mdb file that want to download automatic, but the problem is that i cant access to the bussines folder so i created a shared link
shared_link = dropbox.files.SharedLink(url=url)
for entry in dbx.files_list_folder(path='', shared_link=shared_link).entries:
if isinstance(entry, dropbox.files.FileMetadata):
if entry.name == "asd.mdb":
dbx.files_download(entry.path_display)
so i have an error downloading it and after i see the entry i have this in the metadata path_display=NOT_SET, path_lower=NOT_SET
so i inserted the path manually for testing and cant download.
maybe there is somehow i can download a file from bussiness teams of my account ?
- ЗдравкоLegendary | Level 20
Hi dmartinez,
By default you can access only files/folders residing within your private user folder on Business account with space configuration - nothing outside. In this context:
dmartinez wrote:...so i have an error downloading it and after i see the entry i have this in the metadata path_display=NOT_SET, path_lower=NOT_SET...... is something normal. 🤷
To be able access there you need to set account root for the API calls (not the default - your member's folder). In Python you can do it using 'with_path_root' method. In such a way you can access there (and download) directly, without using links. 😉
Another alternative way (using links) is listing the folder link's content and get links pointing contained files. In such a way you're not restricted to link coming from you (your account) only. This way is not officially supported by Dropbox in spite accessible for years. For more info take a look here. Once you have a file link, direct download is possible (either using Dropbox API or not).
Hope this helps.
- Greg-DBDropbox Staff
dmartinez Здравко is correct; to access the contents of the team space, you'll need to set the Dropbox-API-Path-Root header, which you can do by using the with_path_root method in the Dropbox Python SDK. That way, you wouldn't need to use 'shared_link' at all. You can find more information on how to access team content in the Team Files Guide.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,912 PostsLatest Activity: 8 hours agoIf 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!