Your workflow is unique 👨💻 - tell us how you use Dropbox 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
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-DB
Dropbox Community Moderator
8 years agoHow 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?
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 ago
Dropbox Community Moderator
Thanks! 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 and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!