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
-CodeSnippetvar 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)
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.