We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
JohnnyNPC
8 years agoExplorer | Level 3
.NET Downloading large file GetContentAsStreamAsync
I want to use the Dropbox. Api for .NET to allow my users to download files I have stores in Dropbox from my site. The size of the files ranges from small (a few Mb) to Big (a couple of Hundred Mb) ...
- 8 years agoThanks! In that case, you can specify a longer timeout as shown here:
https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/Examples/SimpleTest/Program.cs#L49
Greg-DB
Dropbox Staff
[Cross-linking for reference: https://stackoverflow.com/questions/43208069/dropbox-net-downloading-large-files-using-getcontentasstreamasync ]
I can't seem to reproduce this issue. Is it failing after a certain amount of time? If so, it may be timing out, which would vary by network connection.
Alternatively, are you trying to download multiple files at once? If so, how many?
JohnnyNPC
8 years agoExplorer | Level 3
It's failing after some time... I am downloading a large file, in the case of the test it's a file that's 245 MB.
Downloading this file directly from dropbox took about 6 minutes.
Is there a way to set the time out for a longer period?
- Greg-DB8 years agoDropbox StaffHow long does it take to fail when you're trying to download via the API? If it is a timeout issue, there may be a way to configure that, but we'll have to look into it.
Also, are you trying to download multiple files at once?- JohnnyNPC8 years agoExplorer | Level 3It takes one and a half to two minutes, give or take.
In the internal tests I'm running now I'm only trying to download one file at the time.- Greg-DB8 years agoDropbox StaffThanks! In that case, you can specify a longer timeout as shown here:
https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/Examples/SimpleTest/Program.cs#L49
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!