<?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 Issue with ListFolderAsync() in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-ListFolderAsync/m-p/259457#M15083</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using ListFolderAsync() to fetch all albums of Dropbox authorized account in my application and its returning too but the issue is when I'm using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var list = await dbclient.Files.ListFolderAsync(path, true);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then i'm getting 20 albums with names etc. But when I'm using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var list = await dbclient.Files.ListFolderAsync(path, true);&lt;BR /&gt;while (list.HasMore)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; list = await dbclient.Files.ListFolderContinueAsync(list.Cursor);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then i'm getting 10 different albums with&amp;nbsp;different names etc.&lt;/P&gt;
&lt;P&gt;Why i'm getting different-different albums from above both methods?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:16:16 GMT</pubDate>
    <dc:creator>SauravAnand</dc:creator>
    <dc:date>2019-05-29T09:16:16Z</dc:date>
    <item>
      <title>Issue with ListFolderAsync()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-ListFolderAsync/m-p/259457#M15083</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using ListFolderAsync() to fetch all albums of Dropbox authorized account in my application and its returning too but the issue is when I'm using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var list = await dbclient.Files.ListFolderAsync(path, true);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then i'm getting 20 albums with names etc. But when I'm using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var list = await dbclient.Files.ListFolderAsync(path, true);&lt;BR /&gt;while (list.HasMore)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; list = await dbclient.Files.ListFolderContinueAsync(list.Cursor);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then i'm getting 10 different albums with&amp;nbsp;different names etc.&lt;/P&gt;
&lt;P&gt;Why i'm getting different-different albums from above both methods?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:16:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-ListFolderAsync/m-p/259457#M15083</guid>
      <dc:creator>SauravAnand</dc:creator>
      <dc:date>2019-05-29T09:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with ListFolderAsync()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-ListFolderAsync/m-p/259490#M15090</link>
      <description>&lt;P&gt;The &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm" target="_self"&gt;ListFolder&lt;/A&gt;/&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderContinueAsync_1.htm" target="_blank"&gt;ListFolderContinue&lt;/A&gt; functionality is paginated, meaning that each call to &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm" target="_blank"&gt;ListFolder&lt;/A&gt; or &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderContinueAsync_1.htm" target="_blank"&gt;ListFolderContinue&lt;/A&gt; will only contain a portion of the overall results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your second piece of code, you're overwriting the `list` variable with each call to &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderContinueAsync_1.htm" target="_blank"&gt;ListFolderContinue&lt;/A&gt; without reading what it contained from the previous call. To get everything, you'll need to read out/save the &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_ListFolderResult_Entries.htm" target="_self"&gt;list.Entries&lt;/A&gt; from each call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 18:23:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-ListFolderAsync/m-p/259490#M15090</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-01-08T18:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with ListFolderAsync()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-ListFolderAsync/m-p/260102#M15139</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for all your hep &amp;amp; support. I'm able to get all the albums now and its working fine. As you said i didn't save my prev entries before query to &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderContinueAsync_1.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;ListFolderContinue.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 10:20:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-ListFolderAsync/m-p/260102#M15139</guid>
      <dc:creator>SauravAnand</dc:creator>
      <dc:date>2018-01-12T10:20:24Z</dc:date>
    </item>
  </channel>
</rss>

