cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Large File Download

Large File Download

gagsbh
Helpful | Level 5
Go to solution

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

 
 
 
1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
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

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution
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
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?