JavaScript Upload blob to dropbox from client-side javascript

I have an app that runs in the client browser and doesn't have any server side (http/js is served, but nothing posts to the server). the app is redeployed on many servers (iis, apache, nginx, sometimes localhost, sometimes on an intranet) and are served using http (not https). My app generates files such as zip files and pdf's in the clients browser as blobs BEFORE I want to save, so having them navigate away on the same page then back to the app defeats the purpose; and I can't post the generated data to dropbox anymore, since they have to start over... I want to be able to send these blobs directly to files in the end users dropbox (and later google drive).

https://www.dropbox.com/developers-v1/dropins/saver performs exactly as I would like. It pops up. It lets the user authenticate in the popup. It lets the user choose where they want to put my file. But I can't send it a data uri, or base64-encoded data, or a bytearray, or whatever. It only works with files previously saved somewhere accessible on the net. So it does not work for me.

https://www.newfangled.com/direct-javascript-dropbox-api-usage/ shows how I could embed the oauth data, which I don't have.

https://blogs.dropbox.com/developers/2013/12/writing-a-file-with-the-dropbox-javascript-sdk/ seems like it should work, except that it's trying to perform an oauth session and it uses the same window as my app (which is undesired).

My current tabs I'm looking at (includes entries from a few years ago, so things might have since changed). Some articles indicate that it isn't possible. Other articles incidate that it IS possible - i mean this particular comment https://github.com/dropbox/dropbox-js/issues/144# doesn't help me much. Neither does "I'll be sure to pass this along as feedback" - was it passed along? To whom?

Answer:1

I wrote a Fibonacci Sequence javascript solution. I was able to push out a Fibonacci Sequence array. However, this solution add an extra number in the array that is more than the limited number. For ...

I wrote a Fibonacci Sequence javascript solution. I was able to push out a Fibonacci Sequence array. However, this solution add an extra number in the array that is more than the limited number. For ...

  1. limit fibonacci sequence

So we know that the action attribute used for sending the form data to a web server. But I have a couple of questions: If the action attribute is not set, why does it reload the page by default? ...

So we know that the action attribute used for sending the form data to a web server. But I have a couple of questions: If the action attribute is not set, why does it reload the page by default? ...

  1. form without action php
  2. form without action html
  3. form without action javascript
  4. form without action attribute
  5. form without action submit
  6. form without action
  7. form without action and method
  8. form without action parameter
  9. form action without redirect
  10. form action without reloading page
  11. form action without submit button
  12. form action without refresh
  13. form action without leaving page
  14. form action without button
  15. form tag without action
  16. form post without action
  17. html5 form without action
  18. html form without action attribute
  19. submit form without action javascript
  20. form tag without action attribute

So I'm new to react and I'm trying to understand how non-react code and react code can interact. So for example, let's say I have a library which draws a circle in a DOM element with syntax like this:...

So I'm new to react and I'm trying to understand how non-react code and react code can interact. So for example, let's say I have a library which draws a circle in a DOM element with syntax like this:...

So I more than one dynamicly generated elements with the same class name that I am trying to check input for in jQuery. Instead of it letting me click on both, it is just letting me click the first ...

So I more than one dynamicly generated elements with the same class name that I am trying to check input for in jQuery. Instead of it letting me click on both, it is just letting me click the first ...

  1. class click not working jquery
  2. class selector not working jquery
  3. remove class not working jquery
  4. jquery addclass not working
  5. jquery toggleclass not working
  6. has class not working jquery