Page 1 of 2

Upload New Files On Dropbox

Posted: 28 Aug 2019 04:20
by medhassano
Please,
I have one thing, I want to make a flow to upload the new files on Dropbox, but I could not, how to do it.

Re: Upload New Files On Dropbox

Posted: 28 Aug 2019 06:08
by Rafi4
Hi
First grant access to Dropbox. And select where to store files and folders.

From record4

Re: Upload New Files On Dropbox

Posted: 28 Aug 2019 11:03
by medhassano
I have already grant Dropbox, ans I have select the files, but I want only upload the new files.

Re: Upload New Files On Dropbox

Posted: 28 Aug 2019 14:05
by Rafi4
Hi
So I think you need to use these actions

Enable wifi access point
Add wifi access point

This may give you proper solution.
From record4

Re: Upload New Files On Dropbox

Posted: 28 Aug 2019 15:13
by anuraag
You have to use "Dropbox Init Variable File List" to get dropbox files and "Init Variable File List" to get device files. Compare both lists and then upload difference.

Re: Upload New Files On Dropbox

Posted: 28 Aug 2019 23:55
by medhassano
Thank you
Can you give me an example, I do not know much about a script.

Re: Upload New Files On Dropbox

Posted: 29 Aug 2019 19:31
by Desmanto
@medhassano : which new files do you mean? All file names those are not in the dropbox yet? Or it includes same file name with new modified date?

For new file names only, you can simply compare the file name on both local and remote path, remove the duplicate. While for modified date files, you need to extra check on the modified date attribute.
I don't use dropbox, so can't get the example result of the path retrieved using Dropbox Init Variable File List. Can you post example of the {files} result from one of your dropbox path? Use condition debug dialog to copy {files}
Please hide any sensitive file name before post it here (if there is any).

Re: Upload New Files On Dropbox

Posted: 30 Aug 2019 13:54
by medhassano
Dear Desmanto
I do not know much about scripts and variables, I want to please an example of flow if it is possible.
Thank you

Re: Upload New Files On Dropbox

Posted: 30 Aug 2019 14:29
by anuraag
Are you also uploading folder? Like WhatsApp Voice Notes contains folder.

Re: Upload New Files On Dropbox

Posted: 30 Aug 2019 14:31
by medhassano
yes