We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
tritnguyen
3 years agoExplorer | Level 3
Event log and delete folder.
Hi All,
I want to write a tool that keep track all the team members and their files on Dropbox. The information needs to be updated in 5 minutes interval. If a member adds a file, delete a file or ...
- 3 years ago
tritnguyen To confirm what Здравко is saying, on Dropbox the deletion of a parent includes the deletion of any children of that parent, so it may be helpful to construct your data model/storage to reflect that as well.
See also, the /2/files/list_folder[/continue] for listing the contents of a folder, which also works that way.
Здравко
Legendary | Level 20
tritnguyen wrote:...
I want to update my file list correctly; I want to remove f1.txt, f2.txt, and f3.txt from my list after I got ...
Hi tritnguyen,
What about if you re-organize you "file list" in a file/folder tree? 🤔 You can always get a list out from the tree (if needed) and are able handle all event recursively whenever needed (like in situation mentioned by you). 😉
Hope this helps.
tritnguyen
3 years agoExplorer | Level 3
The number of members in the company my tool is designed for may be huge. Develop the system to keep track all the folders and files for each member is time consuming, and I try to avoid that. Is there any quick and easy way to do the bookkeeping?
Thanks.
- Здравко3 years agoLegendary | Level 20
tritnguyen wrote:... Develop the system to keep track all the folders and files for each member is time consuming, and I try to avoid that. ...
I don't know such a bookkeeping way, but tree data structure processing typically consumes significantly less time that equivalent list processing (logarithmic vs linear load), if structured properly. That's why much more suitable for big data set (bigger difference between logarithm and line). 🤷
- tritnguyen3 years agoExplorer | Level 3
I understand your suggestion; however, under the time I have to finish the task, I think I cannot use it. But thank you anyway.
- Greg-DB3 years agoDropbox Staff
tritnguyen To confirm what Здравко is saying, on Dropbox the deletion of a parent includes the deletion of any children of that parent, so it may be helpful to construct your data model/storage to reflect that as well.
See also, the /2/files/list_folder[/continue] for listing the contents of a folder, which also works that way.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 4 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!