<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ListFolderContinueAsync recursive not showing correct result in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/621011#M28663</link>
    <description>&lt;P&gt;Can you clarify where/how the initial value of previousDeltaLink is being set though? In this code, it only seems to be set after each ListFolderContinueAsync call. I don't see where you're setting it from the initial call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you are correctly setting the recursive parameter to true on the ListFolderAsync call, but you need to make sure you use that resulting cursor. Also, make sure you read out the entries from each page, including ListFolderAsync. I don't see you doing so in this code; you're only reading out the entries from ListFolderContinueAsync in this code.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Sep 2022 15:14:30 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-09-07T15:14:30Z</dc:date>
    <item>
      <title>ListFolderContinueAsync recursive not showing correct result</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/620414#M28590</link>
      <description>&lt;P&gt;-using dropbox.net SDK&lt;/P&gt;&lt;P&gt;-CodeSnippet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ListFolderResult listFolderResult;&lt;/P&gt;&lt;P&gt;listFolderResult = dropboxClient.Files.ListFolderAsync(controlpath,&lt;U&gt;&lt;STRONG&gt;true&lt;/STRONG&gt;&lt;/U&gt;, false, false, false, true, 200).Result;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var listfoldercontinuearg = new ListFolderContinueArg(cursor);&lt;BR /&gt;var listFolderResult = dropboxClient.Files.ListFolderContinueAsync(listfoldercontinuearg).Result;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;using ablove code snippet, able to fetch chenges made on the home location (ie.:\\home).&lt;BR /&gt;but not able to fetch changes which are made on subfolder(ie.:\\home\subfolder)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 11:02:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/620414#M28590</guid>
      <dc:creator>mansi2821</dc:creator>
      <dc:date>2022-09-05T11:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: ListFolderContinueAsync recursive not showing correct result</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/620743#M28623</link>
      <description>&lt;P&gt;Make sure you're retrieving and processing all of the pages from ListFolderAsync and ListFolderContinueAsync. You're not guaranteed to get everything back by just calling each one once. You need to keep calling ListFolderContinueAsync with the latest cursor until &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/gh-pages/obj/api/Dropbox.Api.Files.ListFolderResult.html" target="_blank"&gt;ListFolderResult&lt;/A&gt;.hasMore is false to be sure you've retrieved all of the entries. Refer to &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/gh-pages/obj/api/Dropbox.Api.Files.Routes.FilesUserRoutes.html#Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_System_String_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Nullable_System_UInt32__Dropbox_Api_Files_SharedLink_Dropbox_Api_FileProperties_TemplateFilterBase_System_Boolean_" target="_blank"&gt;the ListFolderAsync documentation&lt;/A&gt; for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're already doing so, please share the rest of the relevant code for reproducing this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 13:47:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/620743#M28623</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-06T13:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: ListFolderContinueAsync recursive not showing correct result</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/620900#M28653</link>
      <description>&lt;P&gt;hello Thanks For your response here is my code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ListFolderResult listFolderResult;&lt;BR /&gt;&lt;BR /&gt;listFolderResult = dropboxClient.Files.ListFolderAsync(controlpath,true, false, false, false, true, 200).Result;&lt;/P&gt;&lt;P&gt;do&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;var listfoldercontinuearg = new ListFolderContinueArg(previousDeltaLink);&lt;BR /&gt;&lt;BR /&gt;listFolderResult = dropboxClient.Files.ListFolderContinueAsync(listfoldercontinuearg).Result;&lt;/P&gt;&lt;P&gt;foreach (var entry in listFolderResult.Entries){}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if (listFolderResult.HasMore)&lt;BR /&gt;{&lt;BR /&gt;previousDeltaLink = listFolderResult.Cursor;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;} while (previousDeltaLink.IsNotNullOrEmpty());&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 05:18:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/620900#M28653</guid>
      <dc:creator>mansi2821</dc:creator>
      <dc:date>2022-09-07T05:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: ListFolderContinueAsync recursive not showing correct result</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/621011#M28663</link>
      <description>&lt;P&gt;Can you clarify where/how the initial value of previousDeltaLink is being set though? In this code, it only seems to be set after each ListFolderContinueAsync call. I don't see where you're setting it from the initial call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you are correctly setting the recursive parameter to true on the ListFolderAsync call, but you need to make sure you use that resulting cursor. Also, make sure you read out the entries from each page, including ListFolderAsync. I don't see you doing so in this code; you're only reading out the entries from ListFolderContinueAsync in this code.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 15:14:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/621011#M28663</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-07T15:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: ListFolderContinueAsync recursive not showing correct result</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/621214#M28693</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hey my issue is solved&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 11:41:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ListFolderContinueAsync-recursive-not-showing-correct-result/m-p/621214#M28693</guid>
      <dc:creator>mansi2821</dc:creator>
      <dc:date>2022-09-08T11:41:25Z</dc:date>
    </item>
  </channel>
</rss>

