Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello!
I'm writing a small Node.js web app to upload files to Dropbox.
Login to the application will be via Dropbox OAuth. After this the user will be able to send files to my shared folder
Typically the file is first uploaded to the server and then uploaded to Dropbox.
However, this results in wasted time and resource consumption when working with large files.
Is there a way to upload a file directly from the browser under the user's own Dropbox account?
Hi @depotsy,
It depends on how large are those files. One option, for not very large files, is usage of Dropbox Saver; take a look here for example. Other option is implemented client side application (in addition to your server side application) working with upload session; largest possible file would be 350GB.
Hope this gives direction.
@depotsy As Здравко said, you can implement uploads client-side.
And while you don't need to use an official SDK, we do recommend doing so if possible. For example, the official Dropbox JavaScript SDK supports running in client-side browser JavaScript.
There are a few options for uploading to the user's own Dropbox account:
Or if don't want to rely on them having a shared folder with you, you can use copy references to copy files between accounts:
Or if you don't want to rely on the user having their own Dropbox account at all, there is an option for client-side uploading to your own account without exposing your access token to the user:
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!