'How to download the file from dropbox using ng-flow of flow.js?
I am using ng-flow in my angular.js application to upload the file from desktop to my server and its working fine and showing like the following image. Showing upload process
Now i want to upload the file from the dropbox so i am using Dropbox chooser to select the file from dropbox and its giving me the following details.
bytes: 457
icon: "https://www.dropbox.com/static/images/icons64/page_white.png"
isDir: false
is_dir: false
link: "https://dl.dropboxusercontent.com/1/view/bu98444xdbv0iz04/Example.txt"
name: "Example.txt"
Now how can i can i generate the flow object from that information and pass it to ng-flow to see the output like the uper image?
Solution 1:[1]
You can construct flow object manuall specified all necessary options for it and then call upload(). You need to handle right scenario when you are trying to use other resource than local machine
Here you can see full documentation about Flow.js
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Andrew |
