Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
ThirdMonkey
7 years agoNew member | Level 2
Simple c# example to create a folder in dropbox from a console application
Hi,
I am new to the API and trying to understand how to create a basic connection to dropbox to create a folder and then save some files into this folder.
I have created an App as this will only need to create folders/files in a specific location.
Does anyone have a simple example of this without needing to redirect to a login screen as I just want to use the auth token provided on the app details page.
I am doing this in C# and it will be for an automated task that runs once a week.
Thanks in advance!
1 Reply
Replies have been turned off for this discussion
- Greg-DB7 years ago
Dropbox Community Moderator
If you're working in C#, we recommend using the official Dropbox .NET SDK, if you can.
There's an example of using that to create a folder here.
Typically, you would implement the OAuth app authorization flow to allow any abitrary user to connect their own account, but if you are only running this yourself and only need to connect to your own account, you can just always pass in your own access token.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!