<?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: listFolder: returns hasmore in a directory with only 2 files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382490#M21313</link>
    <description>&lt;P&gt;Thanks for the feedback&amp;nbsp;&lt;SPAN&gt;Здравко&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2019 15:35:48 GMT</pubDate>
    <dc:creator>Kyri</dc:creator>
    <dc:date>2019-12-05T15:35:48Z</dc:date>
    <item>
      <title>listFolder: returns hasmore in a directory with only 2 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382469#M21307</link>
      <description>&lt;P&gt;Hi, I am experiensing this issue very often&lt;/P&gt;
&lt;P&gt;it happens in the following scenario:&lt;/P&gt;
&lt;P&gt;you have let's say 150 files&lt;/P&gt;
&lt;P&gt;149 appear with simple listFolder&lt;/P&gt;
&lt;P&gt;and one is not listed&lt;/P&gt;
&lt;P&gt;then move all the 149 files and only leave the one that was not listed&lt;/P&gt;
&lt;P&gt;and add one more&lt;/P&gt;
&lt;P&gt;when you call&amp;nbsp;&lt;/P&gt;
&lt;P&gt;listFolder&lt;SPAN&gt;: again it will only return 1 file&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;and&amp;nbsp;hasMore will be TRUE&lt;/P&gt;
&lt;P&gt;Any ideas how I can force list folder to always return all files in the directory?&lt;/P&gt;
&lt;P&gt;(objC api)&lt;/P&gt;
&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 18:24:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382469#M21307</guid>
      <dc:creator>Kyri</dc:creator>
      <dc:date>2019-12-05T18:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: listFolder: returns hasmore in a directory with only 2 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382476#M21309</link>
      <description>&lt;P&gt;Has more &amp;nbsp;&amp;amp;&amp;nbsp;listFolderContinue&lt;/P&gt;&lt;P&gt;returns the new item(s)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I was wondering how do I "reset it" if you will&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 15:11:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382476#M21309</guid>
      <dc:creator>Kyri</dc:creator>
      <dc:date>2019-12-05T15:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: listFolder: returns hasmore in a directory with only 2 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382478#M21310</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/771535"&gt;@Kyri&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Actually you can't. The call is asynchronous and the bechaviour can't be predicted or forced. You should always check for 'has_more' flag set and &lt;A title="List continue" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank" rel="noopener"&gt;get in loop&lt;/A&gt; until flag gets unset.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 15:12:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382478#M21310</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2019-12-05T15:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: listFolder: returns hasmore in a directory with only 2 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382490#M21313</link>
      <description>&lt;P&gt;Thanks for the feedback&amp;nbsp;&lt;SPAN&gt;Здравко&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 15:35:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382490#M21313</guid>
      <dc:creator>Kyri</dc:creator>
      <dc:date>2019-12-05T15:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: listFolder: returns hasmore in a directory with only 2 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382512#M21318</link>
      <description>&lt;P&gt;Здравко is correct, you can't force or predict this. You need to always check hasMore and call back if needed. For reference, you can find the corresponding documentation for the Objective-C SDK in particular under &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder:" target="_self"&gt;listFolder&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolderContinue:" target="_self"&gt;listFolderContinue&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 16:44:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listFolder-returns-hasmore-in-a-directory-with-only-2-files/m-p/382512#M21318</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-12-05T16:44:08Z</dc:date>
    </item>
  </channel>
</rss>

