In my vue application I am getting right now the meta information from one image. What I want to do is to save this file to a local folder inside my project. But right now I am stuck at that. Could someone give me a pointer on how to do it? Here is my code for to get the meta information.
getImages() {
const Dropbox = require("dropbox").Dropbox;
let pictures2 = [];
const dbx = new Dropbox({
accessToken:
"<REDACTED>",
});
dbx
.filesDownload({
path: "/test/road-6576857_1920.jpg",
})
.then(function (response) {
console.log(response);
});
}}
Nodeserver (not to the client device)? If so, the docs seem to indicate that the .filesDownload SDK method you're using does indeed "Download a file from a user's Dropbox", not just copy some metadata ... Alternatively, Dropbox's Chooser interface may be useful to you.