We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
le h.
9 years agoNew member | Level 1
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-DBDropbox 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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 months 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!