<?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: Export Folders &amp;amp; Filename List in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-Folders-amp-Filename-List/m-p/763098#M33387</link>
    <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1822707"&gt;@samanderson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Following your desire, you can do it in 2 nested steps. First you need to enlist all shared links using &lt;A title="List shared links of this user" href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" target="_blank" rel="noopener"&gt;/2/sharing/list_shared_links&lt;/A&gt; and next in recursive way list all nested folders to for all links to shared folders using &lt;A title="Starts returning the contents of a folder" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank" rel="noopener"&gt;/2/files/list_folder&lt;/A&gt;/&lt;A title="Use this to paginate through all files/subfolders" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank" rel="noopener"&gt;continue&lt;/A&gt; while keep in mind that the recursion must be organized by you - embedded recursion for links is not supported. Now, you should have links for all files that have (directly or indirectly) pointing shared links and their names as well. For further metadata (modification time and so on) you may call &lt;A title="Get the shared link's metadata" href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata" target="_blank" rel="noopener"&gt;/2/sharing/get_shared_link_metadata&lt;/A&gt; for every file link got from the first step. Be aware of different modification dates - client side and server side - you likely need client side.&lt;/P&gt;&lt;P&gt;The above endpoints can be accessed using any network tool (like curl, for instance) or programing language (either supported by Dropbox or not) able to perform HTTP request (i.e. all in fact). The choice is yours, but I would suggest using Python with the Dropbox Python SDK. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;One more suggestion (or maybe joke): don't rely on AI (they are no so intelligent yet), but rather on your own intelligence! &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@488936AC5FA64023548E32631AFD9803/emoticons/1f600.png" alt=":grinning_face:" title=":grinning_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2024 12:21:08 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2024-04-10T12:21:08Z</dc:date>
    <item>
      <title>Export Folders &amp; Filename List</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-Folders-amp-Filename-List/m-p/763002#M33384</link>
      <description>&lt;P&gt;Hey there! I'm looking for a method to generate a TXT file containing the contents of a publicly shared folder, including both files and subfolders, along with their respective filenames and modification dates. I first attempted to create a script with ChatGPT's help, but couldn't get it to work. Then, I tried using the andreafabrizi/Dropbox-Uploader BASH script, but encountered various issues when trying to run it.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 16:27:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-Folders-amp-Filename-List/m-p/763002#M33384</guid>
      <dc:creator>samanderson</dc:creator>
      <dc:date>2024-04-10T16:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Export Folders &amp; Filename List</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-Folders-amp-Filename-List/m-p/763098#M33387</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1822707"&gt;@samanderson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Following your desire, you can do it in 2 nested steps. First you need to enlist all shared links using &lt;A title="List shared links of this user" href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" target="_blank" rel="noopener"&gt;/2/sharing/list_shared_links&lt;/A&gt; and next in recursive way list all nested folders to for all links to shared folders using &lt;A title="Starts returning the contents of a folder" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank" rel="noopener"&gt;/2/files/list_folder&lt;/A&gt;/&lt;A title="Use this to paginate through all files/subfolders" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank" rel="noopener"&gt;continue&lt;/A&gt; while keep in mind that the recursion must be organized by you - embedded recursion for links is not supported. Now, you should have links for all files that have (directly or indirectly) pointing shared links and their names as well. For further metadata (modification time and so on) you may call &lt;A title="Get the shared link's metadata" href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata" target="_blank" rel="noopener"&gt;/2/sharing/get_shared_link_metadata&lt;/A&gt; for every file link got from the first step. Be aware of different modification dates - client side and server side - you likely need client side.&lt;/P&gt;&lt;P&gt;The above endpoints can be accessed using any network tool (like curl, for instance) or programing language (either supported by Dropbox or not) able to perform HTTP request (i.e. all in fact). The choice is yours, but I would suggest using Python with the Dropbox Python SDK. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;One more suggestion (or maybe joke): don't rely on AI (they are no so intelligent yet), but rather on your own intelligence! &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@488936AC5FA64023548E32631AFD9803/emoticons/1f600.png" alt=":grinning_face:" title=":grinning_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 12:21:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-Folders-amp-Filename-List/m-p/763098#M33387</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-10T12:21:08Z</dc:date>
    </item>
  </channel>
</rss>

