Do you have an idea for Dropbox Paper? Share it with us here!

I want to download large file (more than 50 mb) using .net sdk

Explorer | Level 3

How to set timeout for downloading large files from dropbox using .net sdk i am using below code

using (var response = await client.Files.DownloadAsync(file.FolderName + file.FileName))

using (var fileStream = File.Create(destinationpath + file.FileName))
var destPath = sourcepath + "/Recevied" + file.FolderName + file.FileName;
entries.Add(new RelocationPath(file.FolderName + file.FileName, destPath));
(await response.GetContentAsStreamAsync()).CopyTo(fileStream);

catch (Exception ex)

1 Reply

Re: I want to download large file (more than 50 mb) using .net sdk


You can find an example of setting a timeout with the .NET SDK here:

API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post