We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Esikhoob
3 years agoHelpful | Level 5
can our website`s users upload without create an account
Hi
In our ASP.NET website ,we want to give to our users, the ability to upload to Dropbox, instead of our website (because of lack of space).
I read API`s documentation and example of JavaScript`...
Esikhoob
3 years agoHelpful | Level 5
Thankyou
I think there is a third way. using your answer in https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-function-in-NET-SDK-is-for-oauth2-token/m-p/673861 , I can generate access token in .NET side (help of modified .NET`s SDK) and send them to Javascript side and use that to send file with help of Javascript`s SDK.
I have a question on your second ways:
Do you mean I can upload a file to a Dropbox`s shared link with help of Javascript`s SDK? I tried to upload a file to a Dropbox`s shared link using Postman software. As you can see in the attached picture, I get an error.
Greg-DB
Dropbox Community Moderator
3 years agoEsikhoob The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. As Здравко said, you can send files to just your own account, though you should not expose any access tokens or refresh tokens for your account to other users. And as they mentioned, you could instead do so by essentially proxying the file uploads through your own server, or by using temporary upload links. It is not possible to upload directly to a preview link or shared link.
Alternatively, you may want to use "file requests". The API also offers the ability to manage file requests programmatically.
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!