cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

how to choose save location on downloadasync

New member | Level 2
New member | Level 2

seen the tutorial using dbx.Files.DownloadAsync(folder + "/" + file) but is there a way to specify saved file location? using c#

1 Reply 1
Highlighted

Re: how to choose save location on downloadasync

Dropboxer
Dropboxer

The DownloadAsync method offers a way to download files from Dropbox, but it does not save the file to the local filesystem for you. It returns an IDownloadResponse which has a few options to accessing the file data. Specifically, you can get the data as a byte array, stream, or string. Please refer to the documentation for more information on those. 

There are a few examples of using these at the following links:

Exactly what you do with the data is up to you. E.g., you can save it to a local file if you wish, using the .NET File API, for instance.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?