Learn how to make the most out of the Dropbox Community here 💙. 

Forum Discussion

davidklotz's avatar
davidklotz
Explorer | Level 3
8 years ago
Solved

Handling renamed folders in list_folder / list_folder_continue

Hi,    our users can choose specific folders that they want to synchronize from Dropbox to our app*. We store the current list_folder/list_folder_continue cursor in our database, so we only get cha...
  • Greg-DB's avatar
    8 years ago
    Hi David, thanks for the post. Unfortunately, there isn't a good solution to this right now. File IDs were introduced to help with issues like this, but as you mentioned, list_folder doesn't currently support file IDs.

    You could also keep track of a list_folder cursor for the entire account structure (i.e., list_folder on the root path: "") and use the desired folder's ID to check the results to see if/where the folder moved, though that would be a bit of work.

    We are planning on expanding file ID support in API v2, so that would be the best solution here. I've sent this along as a feature request for file ID support for list_folder. I can't make a firm promise as to when this would be available, but I'll follow up here once it is.