most important first: I have no clue about web programming, so please be patient with me
This block works perfectly. Problems arise, when I use it in a loop to copy more than one file. The app logic rushes through, as if everything would be ok. The upload itself happens in the background, AS LONG as the app is open and in the foreground. When I close the app to early, the upload stops and the remaining files won't be uploaded anymore.
My question: how can I assure, that all the to be uploaded files are processed one by one, and the web feedback occurs file by file, when it is really uploaded. Now I don't get any logical feedback, and w/o looking at dropbox in parallel I don't have any information, when the upload is really finished.
Thank you very much!