<?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 get list of folders in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409790#M22197</link>
    <description>&lt;P&gt;Hi. I want to get a list of folders along with path inside my dropbox so that i can upload my files to defined path through my own made android application. Is there any way to get folders list without clicking each folder and get path? I mean get list of folders along with path when i initiate DbxClientV2? or any other way so i can select path from my app when uploading file to specific path?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2020 15:33:06 GMT</pubDate>
    <dc:creator>qazimuneeb1</dc:creator>
    <dc:date>2020-04-14T15:33:06Z</dc:date>
    <item>
      <title>get list of folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409790#M22197</link>
      <description>&lt;P&gt;Hi. I want to get a list of folders along with path inside my dropbox so that i can upload my files to defined path through my own made android application. Is there any way to get folders list without clicking each folder and get path? I mean get list of folders along with path when i initiate DbxClientV2? or any other way so i can select path from my app when uploading file to specific path?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:33:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409790#M22197</guid>
      <dc:creator>qazimuneeb1</dc:creator>
      <dc:date>2020-04-14T15:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: get list of folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409916#M22198</link>
      <description>&lt;P&gt;Yes, using &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;the&amp;nbsp;Dropbox Java SDK&lt;/A&gt;, you can get the list of files/folders under any particular path using the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-" target="_self"&gt;listFolder&lt;/A&gt;/&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderContinue-java.lang.String-" target="_self"&gt;listFolderContinue&lt;/A&gt; methods. The result will contain a list of&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/Metadata.html" target="_self"&gt;Metadata&lt;/A&gt; objects, from which you can get the paths for the referenced items. There's &lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/c710ef80f1c2700031baad7c615dc9934162c090/examples/tutorial/src/main/java/com/dropbox/core/examples/tutorial/Main.java#L35" target="_self"&gt;an example of calling listFolder here&lt;/A&gt;. As shown there, to list the root folder itself, you would supply a path value of the empty string "".&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:42:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409916#M22198</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-14T15:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: get list of folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409919#M22199</link>
      <description>&lt;P&gt;and what about the nested folders? Do we get them also?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:48:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409919#M22199</guid>
      <dc:creator>qazimuneeb1</dc:creator>
      <dc:date>2020-04-14T15:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: get list of folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409921#M22200</link>
      <description>&lt;P&gt;You can use&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderBuilder-java.lang.String-" target="_self"&gt;listFolderBuilder&lt;/A&gt; to get a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/ListFolderBuilder.html" target="_self"&gt;ListFolderBuilder&lt;/A&gt; you can use and call &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/ListFolderBuilder.html#withRecursive-java.lang.Boolean-" target="_self"&gt;withRecursive&lt;/A&gt;(true) to do a recursive listing if you wish.&amp;nbsp;That would include nested items.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, to just list the contents of particular nested folder when needed, you can use&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-" target="_self" rel="nofollow noopener noreferrer"&gt;listFolder&lt;/A&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderContinue-java.lang.String-" target="_self" rel="nofollow noopener noreferrer"&gt;listFolderContinue&lt;/A&gt;&amp;nbsp;again with the path of the folder you want to list.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:51:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409921#M22200</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-14T15:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: get list of folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409924#M22201</link>
      <description>&lt;P&gt;any coded example for this? Would be really glad&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:58:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409924#M22201</guid>
      <dc:creator>qazimuneeb1</dc:creator>
      <dc:date>2020-04-14T15:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: get list of folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409951#M22202</link>
      <description>&lt;P&gt;I don't believe we have a full example of that, but it would look like this:&lt;/P&gt;
&lt;PRE&gt;client.files().listFolderBuilder(path).withRecursive(true).start();
&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Apr 2020 16:48:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-list-of-folders/m-p/409951#M22202</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-14T16:48:48Z</dc:date>
    </item>
  </channel>
</rss>

