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.
Здравко
3 years agoLegendary | Level 20
Esikhoob wrote:...
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 (modified .NET`s SDK) and send them to Javascript side and use that to send file with help of Javascript`s SDK.
...
Yes, it's always an option for everything, but in such a way you're exposing (despite of temporary) the access you granted to the end user (the passed access token can be caught). This way is only usable for "internal" use (i.e. in a set of users that you can rely on). Otherwise your system can be hacked very easy! 🤫
Esikhoob wrote:...
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.
First of all, you're using preview link, not a shared one! Anyway, you cannot upload using any such link (preview or real shared link). As I said you need upload link - it's something different. Take a look here in the sources for details. 😉
Hope this sheds some more light.
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!