We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Alpheswar P.
11 years agoNew member | Level 1
I want to upload multiple files to dropbox using PHP API, but it isn't working.
I am trying to create a library of projects. For each projects multiple files will be there. So while posting a project, i need to slelect multiple files and upload them on the server.
Users can v...
Greg-DB
Dropbox Community Moderator
11 years agoIf you're using the official Dropbox PHP Core SDK, you can upload files using the uploadFile method:
https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_uploadFile
This method (as well as the chunked upload versions) upload one file at a time, so in order to upload multiple files you'd need to call multiple times.
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!