Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
haso94
5 years agoExplorer | Level 3
How to download file from dropbox with Vue/Javascript
Hi, I have a vue application where I want to download files in a specific folder. But when I call the method to do it I am getting the following error: TypeError: Dropbox.Dropbox is not a constr...
- 5 years ago
The filesDownload method downloads a single file. If you want to download multiple files, such as all of the files in a folder, you can iterate through them and call it for each one.
If you want to download an entire folder at once, you can use filesDownloadZip instead. Note that this will give you a zip of the folder which you will need to unzip locally.
Greg-DB
Dropbox Community Moderator
5 years agoThe path value should not end with a "/". For example, if the file is named "test" and is in the root, the path should be "/test". Or as another example, if the name of the file is "test.jpg" and it is inside a folder named "folder", then the path would be "/folder/test.jpg".
I recommend reading the File Access Guide for more information.
haso94
5 years agoExplorer | Level 3
Ok I understand that but is there no way to download all images inside one folder in dropbox?
- Greg-DB5 years ago
Dropbox Community Moderator
The filesDownload method downloads a single file. If you want to download multiple files, such as all of the files in a folder, you can iterate through them and call it for each one.
If you want to download an entire folder at once, you can use filesDownloadZip instead. Note that this will give you a zip of the folder which you will need to unzip locally.
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!