We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
sanjayssk
8 years agoHelpful | Level 6
Need .Net sample for download to file
I'm using Dropbox API in an asp.net application. I have managed to download the file contents into a stream upto the following line of code in an async task.
var strm = response.GetContentAsStr...
- 8 years ago
The GetContentAsStream method yields a Stream, so you should be able to use CopyTo like this:
var strm = await response.GetContentAsStreamAsync(); using (var fileStream = File.Create(localFilePath)) { strm.CopyTo(fileStream); }
yasirjaseem
New member | Level 2
How to call it on windows/desktop application to download file.
Greg-DB
6 years agoDropbox Staff
yasirjaseem We recommend using the official Dropbox .NET SDK. There's an example of downloading files here. If something isn't working as expected for you, open a new thread with details.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 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!