Discuss Dropbox Developer & API
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.
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:
-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)
To get nested entries like that, you'll need to set ListFolderArg.Recursive to true when first calling ListFolderAsync.
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
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
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.
Hi there!
If you need more help you can view your support options (expected response time for a 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!