Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
maxior1234
4 years agoExplorer | Level 3
/list_folder/get_latest_cursor -> shared_link
Hello, I noticed that for get_latest_cursor you can add a shared_link parameter. If I understand the documentation correctly, this parameter allows you to get the cursor for a file whose name is cont...
maxior1234
4 years agoExplorer | Level 3
Does cursor have any life expectancy? For example, it happens that tokens expire after a certain period of time, or is it similar with cursor?
Здравко
4 years agoLegendary | Level 20
No, no... Definitely not. Cursor doesn't expire. Just check why you have it lost (if you lost it, why you have doubts it expires 🧐)! Only this will let you fix the issue and avoid further "incidents". 😉 You may have some weaknesses in your application algorithm. Check this too.
- maxior12344 years agoExplorer | Level 3
I am wondering about one solution? Currently cursor saves in one place. Since I download information about files one at a time, it gets another cursor after each download. If I were to write cursor on the same line as the file information, maybe this would help to eliminate this situation. If so, I would always have the cursor either the last one, or at least before the last one. Separating the cursor from the rest is also good, but it doesn't rule out my mistake, for example. In the sense that I will accidentally replace it with the wrong cursor. I have some of the same automations that work the same but use different places in the dropbox. On the other hand, the option that I am writing about a moment earlier is more difficult to implement.
- Здравко4 years agoLegendary | Level 20
maxior1234, Only you know how exactly your application works (or how it's supposed to, at least). That's why I can't comment what's the best. Again without clearance why you get you cursor lost, you are speculating here and force others to speculate too! For sure you need to clarify the reason and after that the solution.
About to "write cursor on the same line as the file information". 🤔 It's not a good idea. Dropbox doesn't guarantee you can get such a cursor for every single file! Again cursor represent enumeration state; one enumeration step can enumerate from zero to multiple entries (in spite of you can point some count). Providing a count of entries represent your wish and it's not mandatory for Dropbox (Dropbox will try to cover your wish). This make such a way very "slippery"! Don't do this if you are not sure what exactly you are doing.
- maxior12344 years agoExplorer | Level 3
I have several such automations. Each of them retrieves information about files from a different but specific folder. When it needs the same additional automation, it creates a folder in Dropbox. I connect an automation that obtains a cursor (for a specific folder) and saves it to the appropriate tab in the sheet (to the second tab). Then I drop the files into this new folder. I restart the automation, which now downloads information about the added files to the first tab. As the files are downloaded one at a time, it also receives a new cursor each time and saves it to the second tab. With each downloaded file, the cursor is overwritten in tab 2, i.e. I have one fixed location for the cursor. In theory, since these cursors are for an enumeration in a specific folder, cursor should probably not be showing files in the wrong folder, but it could be different. If the automation were to load files from the wrong folder, this cannot happen. I am not sure, because there are several of the same automations, it is possible that I could even put something wrong. Thanks for your help, it will save the cursors to another file.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!