We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

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

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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 months ago
325 Following

If 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!