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

le h.'s avatar
le h.
New member | Level 1
9 years ago

How to create a new folder on dropbox SDK C#?

I have a textbox, it be using for input name of folder. and a button's name create.

public async void CreateANewFolder(string token,string path)
{
using (var dbx = new DropboxClient(token))
{
var created = await dbx.Files.CreateFolderAsync(path);
//var endCreated = await dbx.Files.EndCreateFolder();
}
}

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Yes, you can use CreateFolderAsync to create a folder using the .NET SDK, as you have in your code.

    If that's not working for you, please check and share the error or output you get.