Hi guys! I'm trying to write code to create a program that will download and upload files and folders from/to Dropbox automatically.
When I need to download a single file there's no problem using X.files.downloadAsync("path", await X.GetContentAsByteArrayAsync), but when I need to download an entire folder I don't know how to do it, I can't use the same instruction...
Use the DownloadZipAsync method to download the entire folder, as long as its contents are under the documented size and file count limits. With this method, you'd then need to unzip the resulting data to access the contents. The Dropbox SDK itself doesn't offer an unzipping method, so you may need a system method or a different library to do that.
Well, we know it can be hard to keep up good habits, so we made a new working from home cheat sheet, with some good habits, some things to avoid and some tips for making your day a little easier. Check it out here.
Work Smarter with Dropbox
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.