Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
gangnamBoy
9 years agoExplorer | Level 3
file upload from html form via ajax
Hi,
I want to upload selected files from my html multi form via ajax to my dropbox
Folders!
I can upload files from my local Storage from my ressource folder, but I need to upload
the fil...
Greg-DB
Dropbox Community Moderator
9 years agoThe Dropbox API does allow you to upload files to Dropbox accounts, but it's not designed to work directly from HTML forms.
You can upload files either from the client (e.g., in the browser via JavaScript) or server-side.
We recommend using one of the official SDKs, if possible:
https://www.dropbox.com/developers/documentation
For example, to upload directly from the browser, you would use the JavaScript SDK:
https://github.com/dropbox/dropbox-sdk-js
Or, you can upload the data to your server first, and upload it from there to the Dropbox API.
In any case, each of the SDKs has a tutorial for getting started, so I recommend working through those.
You can upload files either from the client (e.g., in the browser via JavaScript) or server-side.
We recommend using one of the official SDKs, if possible:
https://www.dropbox.com/developers/documentation
For example, to upload directly from the browser, you would use the JavaScript SDK:
https://github.com/dropbox/dropbox-sdk-js
Or, you can upload the data to your server first, and upload it from there to the Dropbox API.
In any case, each of the SDKs has a tutorial for getting started, so I recommend working through those.
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!