Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
gagsbh
7 years agoHelpful | Level 5
Large File Download
Hello,
I used Dropbox SDK for .NET to download a large file of size 1.3 GB but the program hung.
using (var response = await dbx.Files.DownloadAsync(path + "/" + file))
{
byte[] buffer = await response.GetContentAsByteArrayAsync();
}
I then used Dropbox REST API - "https://content.dropboxapi.com/2/files/download"
with Authorization and Dropbox-API-Arg (with path as argument) as headers.
For smaller files the Rest Api worked, but for the 1.3 GB file download, the program threw "Out of Memory Exception".
How do I perform a download of such a larger file with size > 1GB.
Thanks,
Gagan
- This appears to be a duplicate, so I'll close this and follow up on the original:
https://www.dropboxforum.com/t5/API-Support-Feedback/Large-File-Download/m-p/281126#M17183
1 Reply
Replies have been turned off for this discussion
- Greg-DB7 years ago
Dropbox Community Moderator
This appears to be a duplicate, so I'll close this and follow up on the original:
https://www.dropboxforum.com/t5/API-Support-Feedback/Large-File-Download/m-p/281126#M17183
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!