<?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 Dropbox equivalent of os.walk() for python in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/263528#M15397</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm looking to list all the files in folders and sub-folders of one&amp;nbsp;dropbox&amp;nbsp;account with Python v2 API. Is there any equivalent of &lt;EM&gt;os.walk()&lt;/EM&gt; in the API? I can see that we have &lt;EM&gt;files_list_folder()&amp;nbsp;&lt;/EM&gt;but this does not list the files in sub-folders.&lt;/P&gt;
&lt;P&gt;Also is there any function in the API which provides the file types, for example, &lt;EM&gt;.mp3&lt;/EM&gt; or .&lt;EM&gt;jpg&lt;/EM&gt;. If not then I have to do python magic to extract this information.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2020 08:07:12 GMT</pubDate>
    <dc:creator>abhannan</dc:creator>
    <dc:date>2020-03-02T08:07:12Z</dc:date>
    <item>
      <title>Dropbox equivalent of os.walk() for python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/263528#M15397</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm looking to list all the files in folders and sub-folders of one&amp;nbsp;dropbox&amp;nbsp;account with Python v2 API. Is there any equivalent of &lt;EM&gt;os.walk()&lt;/EM&gt; in the API? I can see that we have &lt;EM&gt;files_list_folder()&amp;nbsp;&lt;/EM&gt;but this does not list the files in sub-folders.&lt;/P&gt;
&lt;P&gt;Also is there any function in the API which provides the file types, for example, &lt;EM&gt;.mp3&lt;/EM&gt; or .&lt;EM&gt;jpg&lt;/EM&gt;. If not then I have to do python magic to extract this information.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 08:07:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/263528#M15397</guid>
      <dc:creator>abhannan</dc:creator>
      <dc:date>2020-03-02T08:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox equivalent of os.walk() for python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/263608#M15410</link>
      <description>&lt;P&gt;If you need to list all entries, included nested files and folders, you should use&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.files_list_folder" target="_blank" rel="noopener"&gt;files_list_folder&lt;/A&gt; and &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.files_list_folder_continue" target="_self"&gt;files_list_folder_continue&lt;/A&gt;. You can do so by setting recursive=True on the initial call to&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.files_list_folder" target="_blank" rel="noopener"&gt;files_list_folder&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Dropbox API doesn't offer a way to automatically retrieve the file extension, so you should extract that from the name or path.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 19:25:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/263608#M15410</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-03-02T19:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox equivalent of os.walk() for python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/399950#M21897</link>
      <description>&lt;P&gt;Links to docs are either broken or were never populated.&amp;nbsp; &amp;nbsp; They lead to:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="wrapper"&gt;&lt;PRE&gt;        \          SORRY            /
         \                         /
          \    This page does     /
           ]   not exist yet.    [    ,'|
           ]                     [   /  |
           ]___               ___[ ,'   |
           ]  ]\             /[  [ |:   |
           ]  ] \           / [  [ |:   |
           ]  ]  ]         [  [  [ |:   |
           ]  ]  ]__     __[  [  [ |:   |
           ]  ]  ] ]\ _ /[ [  [  [ |:   |
           ]  ]  ] ] (#) [ [  [  [ :===='
           ]  ]  ]_].nHn.[_[  [  [
           ]  ]  ]  HHHHH. [  [  [
           ]  ] /   `HH("N  \ [  [
           ]__]/     HHH  "  \[__[
           ]         NNN         [
           ]         N/"         [
           ]         N H         [
          /          N            \
         /           q,            \
        /                           \&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="wrapper"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 29 Feb 2020 18:57:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/399950#M21897</guid>
      <dc:creator>steve-the-bayes</dc:creator>
      <dc:date>2020-02-29T18:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox equivalent of os.walk() for python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/400236#M21905</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1268521"&gt;@steve-the-bayes&lt;/a&gt;&amp;nbsp;Thanks for letting me know! I've fixed the documentation links in my earlier message.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 19:25:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-equivalent-of-os-walk-for-python/m-p/400236#M21905</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-03-02T19:25:50Z</dc:date>
    </item>
  </channel>
</rss>

