Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
AlexSeniorDev
6 years agoExplorer | Level 3
Uploading large files directly from web application.
Hi Guys
We have a simple form on our website with a fileupload UI using Dropzone.js.
When a file is dropped I use an ajax callback to fetch a URL from /get_temp_upload_link, send this back to Dr...
Greg-DB
Dropbox Community Moderator
6 years ago[Cross-linking for reference: https://stackoverflow.com/questions/60952157/using-dropzone-to-upload-files-to-dropbox-via-upload-sessions ]
Unfortunately, there isn't a good solution here. The Dropbox API offers the /2/files/get_temporary_upload_link functionality to enable client-side uploads without an access token like you mentioned, but it has the the same file size limit as /2/files/upload itself (officially 150 MB). Regardless of what kind of capability Dropzone has, the Dropbox API itself doesn't an equivalent way to upload larger files without having the access token client-side.
I'll pass this along as a feature request for a good way to do this, but I can't promise if or when that might be implemented.
- AlexSeniorDev6 years agoExplorer | Level 3
I can see that Dropbox has an endpoint for upload sessions. Allowing files to be uploaded in chunks.
Its a shame that this functionality of accepting parts of a file and rebuilding it at the other end cant be included in the get_temp_upload_link endpoint as well.
Thanks for your reply.
- knoppys6 years agoExplorer | Level 3
We came up with a solution.
Upload the files to an App folder, then make a final request to make a server side call to move the file to a secure location within Dropbox before removing the old one and thus keeping the app folder empty.
- Greg-DB6 years ago
Dropbox Community Moderator
knoppys For reference, if your solution involves exposing the app folder access token client-side, we still wouldn't recommend this. Even if you remove the files from the app folder as soon as possible, someone with the access token could read any files while they do exist, or even after they're deleted by restoring them via /2/files/restore.
About Discuss Dropbox Developer & API
Make connections with 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!