We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
James_T
5 years agoHelpful | Level 6
Listing files in a folder, and make download links for all files?
I have a private Dropbox.
I have a PHP-driven webpage where i want to list clickable links to some files in a specific folder in my dropbox. It's simple to list the files on my web page, I just ...
James_T
5 years agoHelpful | Level 6
Won't looping through every file and folder and make a ton of share links be very slow?
The embedding solution seems more sensible, but if I understand correctly:
1. The root folder must have a share link created first
2. I have no control over which files and folders are displayed (I can't choose to hide a specific subfolder, or a specific file)
Здравко
5 years agoLegendary | Level 20
James_T wrote:Won't looping through every file and folder and make a ton of share links be very slow?
...
Здравко wrote:
... Existing links could be enumerated with sharing/list_shared_links. ...
If you take care every file you want to show to be associated in advance with a shared link, listing process is just a single API call. 😉 Even more, you can filter the results "on fly" and filter any unwanted entry with a shared link. Is this so slow? 🤔 Probably it depends on your data structure...
Good luck.
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!