Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

Forum Discussion

Luan09's avatar
Luan09
Explorer | Level 4
3 years ago

API DownloadZipAsync, can I get all file, folder in Dropbox/ ?

To download multiple files, with API ListFolderAsync, I can put path " " or string.empty to get all file from my Dropbox and foreach to download them. But In API DownloadZipAsync require Path:String(pattern="(/(.|[\r\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"). 

To download all file, folder as zip with DownloadZipAsync , can I use which Path to do this or another way ?

Please help me this case. Thanks all !

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Dropbox unfortunately does not support downloading the root folder like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You'll need to specify non-root paths instead.