Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
mansi2812
5 years agoExplorer | Level 3
C# dropbox SDK listfoldercontinueasync(string cursor) not working
I am using ListFolderContinueAsync(string cursor) of C# dropbox sdk for retrieve updated files from dropbox but I am not able to get updated files and folder from dropbox using this method.
To get nested entries like that, you'll need to set ListFolderArg.Recursive to true when first calling ListFolderAsync.
6 Replies
- Greg-DB5 years ago
Dropbox Community Moderator
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:
- the version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access/refresh token(s)
- the full text of any error or unexpected output
- mansi28215 years agoExplorer | Level 4
-using dropbox.net SDK
-CodeSnippet
var listfoldercontinuearg = new ListFolderContinueArg(cursor);
var listFolderResult = dropboxClient.Files.ListFolderContinueAsync(listfoldercontinuearg).Result;
using ablove code snippet, able to fetch chenges made on the home location (ie.:\\home).
but not able to fetch changes which are made on subfolder(ie.:\\home\subfolder) - Greg-DB5 years ago
Dropbox Community Moderator
To get nested entries like that, you'll need to set ListFolderArg.Recursive to true when first calling ListFolderAsync.
- mansi28214 years agoExplorer | Level 4
var listfoldercontinuearg = new ListFolderContinueArg(previousDeltaLink);
listFolderResult = dropboxClient.Files.ListFolderContinueAsync(listfoldercontinuearg).Result;ProcessLogger.Info($"Processing {listFolderResult.Entries.Count} items..");
foreach (var entry in listFolderResult.Entries)
{}this is my exact code can you tell where do i need to set ListFolderArg.recursive to true
- mansi28214 years agoExplorer | Level 4
i am calling first time ListFolderAsync here
ListFolderResult listFolderResult;
listFolderResult = dropboxClient.Files.ListFolderAsync(controlpath, true, false, false, false, true, 200).Result;and i have here setted isrecursive to true still not getting results
- Greg-DB4 years ago
Dropbox Community Moderator
I see you've also posted this in a new thread, so I'll follow up with you there.
For future reference, please note it is not necessary to post the same question in multiple threads.
About Discuss Dropbox Developer & API
Make connections with 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!