We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
derstinebuyagan
6 years agoExplorer | Level 3
Saving files to dropbox of the user
I'm trying to integrate dropbox into our application. We have a requirement that we need to save some files in the user's dropbox. Can you point me in the right direction? I'm using C# and Windows Forms.
Thank you.
3 Replies
- Greg-DB6 years ago
Dropbox Community Moderator
We have an official .NET SDK you can use. You can find information on getting started with that, including installation instructions and example code, here:
https://github.com/dropbox/dropbox-sdk-dotnet
For example, to save files to a connected user's account, you could use the UploadAsync method:
There's an example of using that here:
- derstinebuyagan6 years agoExplorer | Level 3
What we are going to do is to save the file in user's dropbox, not in our dropbox so we need to authenticate them. It looks like the example is using our dropbox folder not the user's dropfox.
- Greg-DB6 years ago
Dropbox Community Moderator
That example and the SDK are not limited to only your own account. That example implements the OAuth app authorization flow, to get an access token for the end-user, whoever that may be. I recommend reading the OAuth Guide for an overview of how that works.
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!