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
mdsantos1979
7 months agoNew member | Level 2
uploading files to a Team folder
Hi,
I'm trying to upload files to team folder using the API V2, but I not getting it. I'm able to upload to the user folder, but I can't upload to Team folder.
I'm also able to list the team folders, using:
using (var dbxTeams = new DropboxTeamClient(accessTokenTeam))
{
try
{
var list = await dbxTeams.Team.TeamFolderListAsync();
foreach (var folder in list.TeamFolders)
{
Console.WriteLine($"Team Folder: {folder.Name}");
Console.WriteLine($"Team Folder: {folder.TeamFolderId}");
}
}
But how to upload files to them? The DropboxTeamClient class don't have methods to do so.
- Greg-DBDropbox Staff
Regardless of what folder you're uploading to, you would use the same upload methods, such as UploadAsync in FilesUserRoutes on a DropboxClient. There aren't separate team client methods for uploading to team folders. You can upload to whatever folders (team folder or not) that the connected user account has access to.
There is some additional configuration needed if you are trying to access team folders in a team space though. Please refer to the Team Files Guide for information on that.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 2 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!