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.GetContentAsStreamAsync();
But I can't find a sample of how to write this stream finally to a file on the web server for which I do have a path DestPath. I have tried using some .Net code to write Stream to file but that complains and can not compile because the above strm and IO.Stream are different. I can't find a sample in .Net SDK for dropbox. Can someone help?
8 Replies
Sort By
About Security and Permissions
Start a discussion in the Dropbox Community forum to get help with your account security and permissions. Find support from Community members.