Reputation: 1430
I'm using Dropbox REST API to perform different operations on users' Dropbox Acount (using Google App Engine). But folder download using files (GET) is giving 404 error: File Not Found. Whereas the same method is working if I try to download a single file, say a .txt or .docx file.
Upvotes: 0
Views: 4810
Reputation: 15740
Just add ?dl=1
to the end of a Dropbox folder share URL and you'll trigger downloading a .zip of the folder in question. So, https://www.dropbox.com/sh/123456789
for regular folder access becomes https://www.dropbox.com/sh/123456789?dl=1
to downlaod the zip.
Upvotes: 3
Reputation: 279235
Looks like you need to use /metadata
to get a list of files, then download each one with a separate call. /files
says that it "Downloads a file". A folder is not a file.
Upvotes: 0