Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
raziel79
8 years agoHelpful | Level 6
Create a shared folder with multiple paths
How to create a shared folder with different paths?
I have selected 3 or 4 dir (or files) inside e directory with tons of contents, how to download only selected files with api?
is there a way to do that?
best
3 Replies
- Greg-DB8 years ago
Dropbox Community Moderator
I'm not sure I understand what you mean when you say you want "to create a shared folder with different paths". Can you elaborate?
In any case, if you want to download specific files using the API, you should call /2/files/download once per file. You should specify the path of the desired file in the 'path' parameter.
(Or, for reference, since you mentioned using a shared link in a previous post, if you are trying to download specific files from a shared link for a folder, you should use call /2/sharing/get_shared_link_file once per file specifying the shared link in the 'url' parameter, and the relative path of the desired file in the 'path' parameter.)
- raziel798 years agoHelpful | Level 6
Hi Greg, sorry, i mean:
I need to select 3 specific file or folder from a directory, not all dir content, and need ti download a zip with only these selected files. Is there an api thath accept an array of IDS or Paths and create a zip of them to download?
thx
- Greg-DB8 years ago
Dropbox Community Moderator
I see, thanks for clarifying, No, unfortunately there isn't a way to download multiple specific files like this at once, but I'll pass this along as a feature request.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!