<?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: Copy file to local drive in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Copy-file-to-local-drive/m-p/217342#M11351</link>
    <description>If you want to download a file from Dropbox using the API v2 JavaScript SDK, you should use the filesDownload method:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's an example of using sharingGetSharedLinkFile, which works similarly to filesDownload, here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For filesDownload, you would provide a file path instead of the URL.&lt;BR /&gt;&lt;BR /&gt;In any case, note that JavaScript running in the browser doesn't have access to the local filesystem in general. The fileDownload method will give you the file data, but what you do with it from there is up to you. For example, the sharingGetSharedLinkFile method linked above allows the user to click a button to download it.</description>
    <pubDate>Fri, 21 Apr 2017 21:50:27 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-04-21T21:50:27Z</dc:date>
    <item>
      <title>Copy file to local drive</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Copy-file-to-local-drive/m-p/217340#M11350</link>
      <description>&lt;P&gt;How I can copy a file from user's dropbox account to servre using JS SDK. Previously we were using PHP SDK where user giving permission access app folder to our app. Then app was reading all files from user's dropbox account and copying those to server. We want to achive same using JS SDK. Want copy file from dropbox to local drive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:23:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Copy-file-to-local-drive/m-p/217340#M11350</guid>
      <dc:creator>dalal_subhranil</dc:creator>
      <dc:date>2019-05-29T09:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Copy file to local drive</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Copy-file-to-local-drive/m-p/217342#M11351</link>
      <description>If you want to download a file from Dropbox using the API v2 JavaScript SDK, you should use the filesDownload method:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's an example of using sharingGetSharedLinkFile, which works similarly to filesDownload, here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For filesDownload, you would provide a file path instead of the URL.&lt;BR /&gt;&lt;BR /&gt;In any case, note that JavaScript running in the browser doesn't have access to the local filesystem in general. The fileDownload method will give you the file data, but what you do with it from there is up to you. For example, the sharingGetSharedLinkFile method linked above allows the user to click a button to download it.</description>
      <pubDate>Fri, 21 Apr 2017 21:50:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Copy-file-to-local-drive/m-p/217342#M11351</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-21T21:50:27Z</dc:date>
    </item>
  </channel>
</rss>

