We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
paykoman
7 years agoExplorer | Level 3
upload file to public file request with javascript
I generated a public file request in Dropbox and would like to write some javascript code to programmatically upload a file which is generated on the flow (e.g. var myJsonString = JSON.stringify(myAr...
- 7 years ago[Cross-linking for reference: https://stackoverflow.com/questions/50656407/dropbox-upload-file-to-public-file-request-with-javascript ]
The Dropbox API doesn't offer a way to programmatically upload to file requests, but I'll pass this along as a feature request.
grokify
New member | Level 2
You can programmatically upload to a file request using the standard Dropbox `/upload` API. I've tested this and it works fine.
I've described this on Stack Overflow here:
https://stackoverflow.com/questions/50656407/dropbox-upload-file-to-public-file-request-with-javascript/50711970#50711970
Greg-DB
7 years agoDropbox Staff
Thanks for sharing that grokify! To highlight one important note from grokify's post, this only works if you have access to the account for the owner of the file request. I.e., this method is for uploading to the same folder that the file request happens to also be configured for (just like you can upload to any folder if you have that access, via an access token). It does not offer a way to upload to any arbitrary file request as another user, like the file request web site allows.
Also, be aware that the designated folder for a file request can change at any time, so it would be best to check the folder path for the file request using /2/file_requests/list or /2/file_requests/get.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 9 hours agoIf 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 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!