<?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: Download file from dropbox to my webapp on behalf of user(after he successfully authenticate) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/596367#M27713</link>
    <description>&lt;P&gt;I saw that dropbox chooser is not available for angular, what to do then ? @Amit how did you solve this ?&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 06:06:26 GMT</pubDate>
    <dc:creator>qa7641</dc:creator>
    <dc:date>2022-05-11T06:06:26Z</dc:date>
    <item>
      <title>Download file from dropbox to my webapp on behalf of user(after he successfully authenticate)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/499944#M24811</link>
      <description>&lt;P&gt;Hello Dropbox team,&lt;/P&gt;&lt;P&gt;I have a usecase, where in my webApp (Node js - Angular), user will come and select "dropbox" icon, which will open Dropbox Authentication window, for the user to authenticate.&lt;/P&gt;&lt;P&gt;Once he is authenticated successfully, then the file selected by user from dropbox, should get downloaded to my server (webapp).&lt;/P&gt;&lt;P&gt;I saw documentation on dropbox at this page:&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But there are 2 ways to achieve the download,&amp;nbsp; -&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;HTTP reference&lt;/LI&gt;&lt;LI&gt;API Explorer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I found there is an api to download the file:&amp;nbsp;&lt;A href="https://content.dropboxapi.com/2/files/download" target="_blank" rel="noopener"&gt;https://content.dropboxapi.com/2/files/download&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I have couple of questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Could you please send me some example on how to achieve this use case. (Especially, how my webapp can access (read-only) to user file there in dropbox, and then subsequently downloading it)&lt;/LI&gt;&lt;LI&gt;HTTP is better or API is better. (HTTP Reference is more like REST Api to download the file, but if I use API explorer as SDK, then I need to keep on updating the SDK version every other time)&lt;/LI&gt;&lt;LI&gt;In this download API, there is a header argument called "path", which is the path of file location. (How would my webapp will come to know the path of file ? I mean, before downloading the file, how to get the path of the file, in order to download.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please provide some example to handle this usecase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 23:05:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/499944#M24811</guid>
      <dc:creator>AmitSingla</dc:creator>
      <dc:date>2021-02-25T23:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Download file from dropbox to my webapp on behalf of user(after he successfully authenticate)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/500157#M24814</link>
      <description>&lt;P&gt;As you found, Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs &lt;A href="https://www.dropbox.com/developers" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To clarify though, &lt;A href="https://github.com/dropbox/dropbox-api-v2-explorer" target="_self"&gt;the API Explorer&lt;/A&gt; is just a tool meant to make it easy to experiment with the&amp;nbsp;Dropbox API. The&amp;nbsp;Dropbox API itself consists of the HTTPS endpoints, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation" target="_self"&gt;which are documented here&lt;/A&gt;. You can use the API Explorer to test out the&amp;nbsp;Dropbox API, but it's not meant as a way to integrate with the API in your actual app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Dropbox API can be used by any platform that can make HTTPS calls. You can call the HTTPS endpoints directly, but we do&amp;nbsp;recommend using one of &lt;A href="https://www.dropbox.com/developers/documentation" target="_self"&gt;the official SDKs&lt;/A&gt;, if possible, as they will do much of the work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're just getting started with the&amp;nbsp;Dropbox API, you may want to check out &lt;A href="https://www.dropbox.com/developers/reference/getting-started" target="_self"&gt;the Getting Started guide&lt;/A&gt; first to get a basic understanding of how to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, as you mentioned, to download a file via the API, you would use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;the /2/files/download endpoint&lt;/A&gt;, or the corresponding native method in an SDK, if you're using one. That takes a "path" parameter which is how the app specifies which file is wants to download. This may determined by the app's logic, or selected by the user. I&amp;nbsp;recommend reading &lt;A href="https://www.dropbox.com/lp/developers/reference/dbx-file-access-guide" target="_self"&gt;the File Access Guide&lt;/A&gt; for information on navigating and interacting with paths and files on the&amp;nbsp;Dropbox API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 19:56:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/500157#M24814</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-02-26T19:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Download file from dropbox to my webapp on behalf of user(after he successfully authenticate)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/500725#M24827</link>
      <description>&lt;P&gt;Basically, in my usecase, user will login to dropbox and select file. Once he selects the file from dropbox, file should get downloaded automatically to our webapp(server).&lt;/P&gt;&lt;P&gt;I was reading dropbox documentation, and found that, there is pre-built component called "Chooser".&lt;/P&gt;&lt;P&gt;I was thinking, probably, this would help in my usecase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 16:51:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/500725#M24827</guid>
      <dc:creator>AmitSingla</dc:creator>
      <dc:date>2021-03-01T16:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Download file from dropbox to my webapp on behalf of user(after he successfully authenticate)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/500731#M24828</link>
      <description>&lt;P&gt;Yes, if you just need a way to get a file from the user's&amp;nbsp;Dropbox account into your web app by having the user select it, the&amp;nbsp;Dropbox Chooser may be a good option. You can find &lt;A href="https://www.dropbox.com/developers/chooser" target="_self"&gt;the information on using the Chooser here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 17:28:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/500731#M24828</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-01T17:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Download file from dropbox to my webapp on behalf of user(after he successfully authenticate)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/596367#M27713</link>
      <description>&lt;P&gt;I saw that dropbox chooser is not available for angular, what to do then ? @Amit how did you solve this ?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 06:06:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/596367#M27713</guid>
      <dc:creator>qa7641</dc:creator>
      <dc:date>2022-05-11T06:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Download file from dropbox to my webapp on behalf of user(after he successfully authenticate)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/596447#M27715</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1541228"&gt;@qa7641&lt;/a&gt; Dropbox still doesn't offer support for using the Dropbox Chooser in Angular, but I'll pass this along as a feature request. I'm not aware of any plans for that currently though.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 14:57:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file-from-dropbox-to-my-webapp-on-behalf-of-user-after/m-p/596447#M27715</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-05-11T14:57:15Z</dc:date>
    </item>
  </channel>
</rss>

