<?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 Download API resume in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/468046#M23856</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I daily need to download a file into iOS from Dropbox using API.&lt;/P&gt;
&lt;P&gt;The file is ~1GB.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whether the screen saver occurs, or under some other conditions (incoming calls), then the download is aborted, I can restart it, but not resume it from where it left.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is quite frustrating since it happens frequently.&lt;/P&gt;
&lt;P&gt;Is there a way to resume a partial download or force dividing download into smaller parts ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 05:57:41 GMT</pubDate>
    <dc:creator>Alice07</dc:creator>
    <dc:date>2020-11-09T05:57:41Z</dc:date>
    <item>
      <title>Download API resume</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/468046#M23856</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I daily need to download a file into iOS from Dropbox using API.&lt;/P&gt;
&lt;P&gt;The file is ~1GB.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whether the screen saver occurs, or under some other conditions (incoming calls), then the download is aborted, I can restart it, but not resume it from where it left.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is quite frustrating since it happens frequently.&lt;/P&gt;
&lt;P&gt;Is there a way to resume a partial download or force dividing download into smaller parts ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 05:57:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/468046#M23856</guid>
      <dc:creator>Alice07</dc:creator>
      <dc:date>2020-11-09T05:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Download API resume</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/468373#M23868</link>
      <description>&lt;P&gt;Are you using one of the official&amp;nbsp;Dropbox SDKs? If so, which one?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The API itself does support "&lt;A href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.2" target="_self"&gt;Range Retrieval Requests&lt;/A&gt;", e.g., on&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;/2/files/download&lt;/A&gt;, but not all of the SDKs implement that.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 16:42:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/468373#M23868</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-09T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Download API resume</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/469356#M23919</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;I actually using t&lt;SPAN&gt;he&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self" rel="noopener noreferrer"&gt;/2/files/download&amp;nbsp;&lt;/A&gt;API&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not know how to add/implement "&lt;/SPAN&gt;&lt;A href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.2" target="_self" rel="nofollow noopener noreferrer"&gt;Range Retrieval Requests&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you provide some examples or suggestions ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 13:06:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/469356#M23919</guid>
      <dc:creator>Alice07</dc:creator>
      <dc:date>2020-11-12T13:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Download API resume</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/469401#M23923</link>
      <description>&lt;P&gt;Sure, you can use this by setting the "Range" header. You can find information on the syntax in &lt;A href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.1" target="_self"&gt;the spec&lt;/A&gt;. For example, here's a call that would&amp;nbsp;download only bytes 0 through 5:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://content.dropboxapi.com/2/files/download \
    --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;" \
    --header "Dropbox-API-Arg: {\"path\": \"/test.txt\"}" \
    --header "Range: bytes=0-5"&lt;/PRE&gt;
&lt;P&gt;And here's an example that would download everything from byte index 6&amp;nbsp;to the end:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://content.dropboxapi.com/2/files/download \
    --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;" \
    --header "Dropbox-API-Arg: {\"path\": \"/test.txt\"}" \
    --header "Range: bytes=6-"&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 16:17:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-API-resume/m-p/469401#M23923</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-12T16:17:01Z</dc:date>
    </item>
  </channel>
</rss>

