<?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 Problem downloading file from dropbox in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-downloading-file-from-dropbox/m-p/584859#M27232</link>
    <description>&lt;PRE&gt;Hi all ,&lt;BR /&gt;&lt;BR /&gt;I can't get this to work:&lt;BR /&gt;(part of a python class)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;def download_file(self, source_file):
    "Download a file from Dropbox"
    print('Start Dropbox download')
    with open(source_file, "wb") as f:
        metadata, res = self.dbx.files_download(path='F:/Profielmap/Downloads/DropboxToken.txt')
        f.write(res.content)&lt;BR /&gt;&lt;BR /&gt;I get error: dropbox did not match pattern&lt;BR /&gt;The file&amp;nbsp;should&amp;nbsp;be&amp;nbsp;downloaded&amp;nbsp;in&amp;nbsp;F:/Profielmap/Downloads, tried changing slashes , going through a variable, i keep getting syntax errors&amp;nbsp;about&amp;nbsp;not&amp;nbsp;matching&amp;nbsp;any&amp;nbsp;patteren&amp;nbsp;,why&amp;nbsp;is&amp;nbsp;this&amp;nbsp;so&amp;nbsp;hard&amp;nbsp;to&amp;nbsp;find&amp;nbsp;??&amp;nbsp;;-)&lt;BR /&gt;When i use path="/DropboxToken.txt" the file downloads in F:&lt;BR /&gt;&lt;BR /&gt;Cheers&amp;nbsp;,John&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 11:06:42 GMT</pubDate>
    <dc:creator>Johnson9070</dc:creator>
    <dc:date>2022-03-21T11:06:42Z</dc:date>
    <item>
      <title>Problem downloading file from dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-downloading-file-from-dropbox/m-p/584859#M27232</link>
      <description>&lt;PRE&gt;Hi all ,&lt;BR /&gt;&lt;BR /&gt;I can't get this to work:&lt;BR /&gt;(part of a python class)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;def download_file(self, source_file):
    "Download a file from Dropbox"
    print('Start Dropbox download')
    with open(source_file, "wb") as f:
        metadata, res = self.dbx.files_download(path='F:/Profielmap/Downloads/DropboxToken.txt')
        f.write(res.content)&lt;BR /&gt;&lt;BR /&gt;I get error: dropbox did not match pattern&lt;BR /&gt;The file&amp;nbsp;should&amp;nbsp;be&amp;nbsp;downloaded&amp;nbsp;in&amp;nbsp;F:/Profielmap/Downloads, tried changing slashes , going through a variable, i keep getting syntax errors&amp;nbsp;about&amp;nbsp;not&amp;nbsp;matching&amp;nbsp;any&amp;nbsp;patteren&amp;nbsp;,why&amp;nbsp;is&amp;nbsp;this&amp;nbsp;so&amp;nbsp;hard&amp;nbsp;to&amp;nbsp;find&amp;nbsp;??&amp;nbsp;;-)&lt;BR /&gt;When i use path="/DropboxToken.txt" the file downloads in F:&lt;BR /&gt;&lt;BR /&gt;Cheers&amp;nbsp;,John&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 11:06:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-downloading-file-from-dropbox/m-p/584859#M27232</guid>
      <dc:creator>Johnson9070</dc:creator>
      <dc:date>2022-03-21T11:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading file from dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-downloading-file-from-dropbox/m-p/584864#M27233</link>
      <description>&lt;P&gt;I swapped "to" and "from" location&amp;nbsp; , never mind this question &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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 20:00:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-downloading-file-from-dropbox/m-p/584864#M27233</guid>
      <dc:creator>Johnson9070</dc:creator>
      <dc:date>2022-03-20T20:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading file from dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-downloading-file-from-dropbox/m-p/585047#M27242</link>
      <description>&lt;P&gt;[Cross-linking for reference: &lt;A href="https://stackoverflow.com/questions/71549526/downloading-file-from-dropbox-dropbox-api" target="_blank"&gt;https://stackoverflow.com/questions/71549526/downloading-file-from-dropbox-dropbox-api&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing the resolution. I'm glad to hear you already got this sorted out.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:29:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-downloading-file-from-dropbox/m-p/585047#M27242</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-03-21T14:29:13Z</dc:date>
    </item>
  </channel>
</rss>

