<?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: Non-expiring direct links in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Non-expiring-direct-links/m-p/275514#M16455</link>
    <description>There isn't a way to do that exactly. Instead though, you can use "preview" links, and then modify them for direct access:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/help/desktop-web/force-download" target="_blank"&gt;https://www.dropbox.com/help/desktop-web/force-download&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That will give you a non-expiring link from which you can directly download the file content.&lt;BR /&gt;&lt;BR /&gt;Things to be aware of however:&lt;BR /&gt;- these preview links don't expire but can still be revoked at any time by the user&lt;BR /&gt;- these preview links will be listed in the user's shared links on &lt;A href="https://www.dropbox.com/links" target="_blank"&gt;https://www.dropbox.com/links&lt;/A&gt;</description>
    <pubDate>Tue, 08 May 2018 17:30:48 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-05-08T17:30:48Z</dc:date>
    <item>
      <title>Non-expiring direct links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Non-expiring-direct-links/m-p/275507#M16454</link>
      <description>&lt;P&gt;I am looking for some help with orchestrating downloads&amp;nbsp;&lt;EM&gt;from&lt;/EM&gt; Dropbox to a local filesystem.&amp;nbsp; I have essentially built a file-transfer application which will allow our users to upload large files &lt;EM&gt;from &lt;/EM&gt;Dropbox&amp;nbsp;&lt;EM&gt;to&lt;/EM&gt; our system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Up to this point I have been using the javascript Chooser successfully-- the users login to Dropbox, select their files, and the temporary "direct" links are sent server-side, where we download with something like wget (wget -q -O - &amp;lt;temporary link&amp;gt;) .&amp;nbsp; However, this method has the limitation of the 4-hour expiration.&amp;nbsp; In the case of especially large transfers, I would like to avoid this limitation as I do not want to limit the size of the files that my users can transfer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I know I can have the user approve my application, perform oauth2 flow to get the code/token, and then use the SDK to query a user's Dropbox server-side.&amp;nbsp; Presumably, that would give my application unlimited time to perform any downloads.&amp;nbsp; We have been using the SDK to upload files &lt;EM&gt;from&lt;/EM&gt; our system &lt;EM&gt;to&lt;/EM&gt; Dropbox, and that's been great.&amp;nbsp; HOWEVER, I like the javascript chooser and would rather not write my own "file browser" UI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I have the oauth2 token AND the temporary link, is there a way I can "convert" that to a path which I can use which does not have the time constraint?&amp;nbsp; I'd love to be able to continue using the Chooser, and reverse-engineer the path in the user's Dropbox (to which I will have full access).&amp;nbsp; Is this remotely possible? &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:13:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Non-expiring-direct-links/m-p/275507#M16454</guid>
      <dc:creator>brian_lawney</dc:creator>
      <dc:date>2019-05-29T09:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Non-expiring direct links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Non-expiring-direct-links/m-p/275514#M16455</link>
      <description>There isn't a way to do that exactly. Instead though, you can use "preview" links, and then modify them for direct access:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/help/desktop-web/force-download" target="_blank"&gt;https://www.dropbox.com/help/desktop-web/force-download&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That will give you a non-expiring link from which you can directly download the file content.&lt;BR /&gt;&lt;BR /&gt;Things to be aware of however:&lt;BR /&gt;- these preview links don't expire but can still be revoked at any time by the user&lt;BR /&gt;- these preview links will be listed in the user's shared links on &lt;A href="https://www.dropbox.com/links" target="_blank"&gt;https://www.dropbox.com/links&lt;/A&gt;</description>
      <pubDate>Tue, 08 May 2018 17:30:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Non-expiring-direct-links/m-p/275514#M16455</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-05-08T17:30:48Z</dc:date>
    </item>
  </channel>
</rss>

