简体   繁体   中英

Which path should I use to upload to Team-Folders in Dropbox

We recently switched from Dropbox to Dropbox Business. Since then I uploaded files via the Dropbox API for Swift (SwiftyDropbox) only using the path where the file was saved.

I can't just change the path because it just uploads to the normal personal Dropbox. But now I am wondering how to access Teamfolders.

I recommend reading the Namespace Guide for information on how Business accounts are structured and how to access team spaces:

https://www.dropbox.com/developers/reference/namespace-guide

In the SwiftyDropbox library in particular, you can set the 'Dropbox-API-Path-Root' header by passing in a PathRoot as the pathRoot parameter when constructing your DropboxClient .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM