<?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: how to get all subfolders list from the share section of dropbox? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432612#M22879</link>
    <description>&lt;P&gt;I'm not sure I understand the first part of your latest comment. If something isn't working as expected with the&amp;nbsp;Dropbox API with respect to that, please clarify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, yes, you can check if a given shared folder is mounted in the connected account. Check the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_SharedFolderMetadata.htm" target="_self"&gt;SharedFolderMetadata&lt;/A&gt;, e.g., as returned in&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Sharing_ListFoldersResult_Entries.htm" target="_self"&gt;ListFoldersResult.Entries&lt;/A&gt;&amp;nbsp;from &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_ListFoldersAsync_1.htm" target="_self"&gt;ListFoldersAsync&lt;/A&gt; or &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_ListFoldersContinueAsync_1.htm" target="_self"&gt;ListFoldersContinueAsync&lt;/A&gt;. If&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Sharing_SharedFolderMetadataBase_PathLower.htm" target="_self"&gt;SharedFolderMetadataBase.PathLower&lt;/A&gt; is set, then the folder is mounted. If it is not set, then the folder is not mounted.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2020 19:04:04 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-06-25T19:04:04Z</dc:date>
    <item>
      <title>how to get all subfolders list from the share section of dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432526#M22872</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-message-header"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-header"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-message-header-bottom"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-08 lia-quilt-column-right lia-quilt-column-message-header-bottom-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-menu-navigation-wrapper lia-menu-action lia-component-message-view-widget-action-menu"&gt;&lt;DIV class="lia-menu-navigation"&gt;&lt;DIV class="dropdown-default-item"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-post-date lia-component-post-date lia-component-message-view-widget-post-date"&gt;&lt;SPAN class="DateTime"&gt;&lt;SPAN class="local-date"&gt;‎02-18-2019&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt;05:18 AM&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-message-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-main"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hello. Does anyone know how to get all subfolders list from the share section of dropbox?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using .Net SDK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;When I am trying to get a shared folder it gives me by using the below method.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dropbox.Sharing.ListFoldersAsync();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I need only particular folders subfolders(like all subfolders in XYZ folder) then it's not accepting path as an input parameter,&amp;nbsp; How can I get a list of subfolders from a folder from share section of dropbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a c# app that should browse folders by double-clicking it like our windows folders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var dropbox = new DropboxClient by the way.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-rating-metoo lia-component-me-too lia-component-message-view-widget-me-too"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="message-meta-data"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jun 2020 13:15:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432526#M22872</guid>
      <dc:creator>satish bhuktar</dc:creator>
      <dc:date>2020-06-25T13:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to get all subfolders list from the share section of dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432547#M22875</link>
      <description>&lt;P&gt;The&amp;nbsp;Sharing.ListFolders methods only let you list shared folders themselves. To list the contents of any arbitrary path, you need to instead use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm" target="_self"&gt;Files.ListFolder&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderContinueAsync_1.htm" target="_self"&gt;Files.ListFolderContinue&lt;/A&gt; methods.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 14:23:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432547#M22875</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-25T14:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to get all subfolders list from the share section of dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432553#M22876</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm" target="_self" rel="nofollow noopener noreferrer"&gt;Files.ListFolder&lt;/A&gt;&amp;nbsp;&lt;SPAN&gt;able to return a list of subfolders of the&lt;STRONG&gt; folders that shared with me but not mount yet?&lt;/STRONG&gt;&amp;nbsp; I was trying it but was giving exception of the path not found, that's why I was using &lt;STRONG&gt;Sharing&lt;/STRONG&gt;.ListFolderAsync(),&amp;nbsp; what am I need to do here&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 14:49:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432553#M22876</guid>
      <dc:creator>satish bhuktar</dc:creator>
      <dc:date>2020-06-25T14:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to get all subfolders list from the share section of dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432567#M22877</link>
      <description>&lt;P&gt;Yes, you can technically use these methods to list the contents of an unmounted folder. To do so, you need to use&amp;nbsp;the 'Dropbox-API-Path-Root' header with the "namespace_id" mode, set to the namespace ID of the folder, which you can get from the&amp;nbsp;Sharing.ListFoldersAsync method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the .NET SDK, that would look like this:&lt;/P&gt;
&lt;PRE&gt;string ACCESS_TOKEN = "...";

string namespaceID = "123456789";

client = new DropboxClient(ACCESS_TOKEN).WithPathRoot(new Dropbox.Api.Common.PathRoot.NamespaceId(namespaceID));

var listResult = await client.Files.ListFolderAsync(string.Empty);
// handle the response, implement ListFolderContinueAsync, and so on&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 15:26:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432567#M22877</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-25T15:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to get all subfolders list from the share section of dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432592#M22878</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, it's a working solution, but somehow I am not able to use it because of my flow,&lt;/P&gt;&lt;P&gt;1)I need to Show all shared folder first like a dashboard. that's what I have done using &lt;STRONG&gt;Sharing.ListFoldersAsync()&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2) The user should enter any folder nested behavior of folders that can be there,&amp;nbsp; along with a back button to come back from each. so I achieve this by given the solution above. but the problem is that in my scenario, I need to store back Path in a back button so user can go back after clicking on it. all goes well but what goes wrong when I am on the last but one subfolder from the dashboard and click back button then it is not going to dashboard, it's showing the same folder items. and having some existing code structure limitations here so I used below way to do the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var mount = await DropboxClient.Sharing.MountFolderAsync(SharedFolderId);&lt;BR /&gt;var FolderList= await DropboxClient.Files.ListFolderAsync(path: item.PathLower);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's giving me the expected result that suitable to my existing code scenario,&amp;nbsp; that I mount a shared folder first then use&amp;nbsp;&amp;nbsp;DropboxClient.Files.ListFolderAsync(path). but some times facing an issue that &lt;EM&gt;&lt;STRONG&gt;"Already mounted" error.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt; Is there any way to check first that the folder is mounted or not?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 17:01:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432592#M22878</guid>
      <dc:creator>satish bhuktar</dc:creator>
      <dc:date>2020-06-25T17:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to get all subfolders list from the share section of dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432612#M22879</link>
      <description>&lt;P&gt;I'm not sure I understand the first part of your latest comment. If something isn't working as expected with the&amp;nbsp;Dropbox API with respect to that, please clarify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, yes, you can check if a given shared folder is mounted in the connected account. Check the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_SharedFolderMetadata.htm" target="_self"&gt;SharedFolderMetadata&lt;/A&gt;, e.g., as returned in&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Sharing_ListFoldersResult_Entries.htm" target="_self"&gt;ListFoldersResult.Entries&lt;/A&gt;&amp;nbsp;from &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_ListFoldersAsync_1.htm" target="_self"&gt;ListFoldersAsync&lt;/A&gt; or &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_ListFoldersContinueAsync_1.htm" target="_self"&gt;ListFoldersContinueAsync&lt;/A&gt;. If&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Sharing_SharedFolderMetadataBase_PathLower.htm" target="_self"&gt;SharedFolderMetadataBase.PathLower&lt;/A&gt; is set, then the folder is mounted. If it is not set, then the folder is not mounted.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 19:04:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-get-all-subfolders-list-from-the-share-section-of-dropbox/m-p/432612#M22879</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-25T19:04:04Z</dc:date>
    </item>
  </channel>
</rss>

