<?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 [Android] Effective way to download files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Android-Effective-way-to-download-files/m-p/213230#M10830</link>
    <description>&lt;P&gt;Hi. In my app I&amp;nbsp;need to download a lot of small files (0.1 - 5MB). For example now I have got 50 files and I download them by using this code foreach:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FileOutputStream fOut = null;
File file = new File(localPATH, localName);
if (file.exists())
      file.delete();
file.createNewFile();
fOut = new FileOutputStream(file);
dbxClient.files().downloadBuilder(remotePATH).start().download(fOut);
fOut.flush();
fOut.close();&lt;/PRE&gt;&lt;P&gt;But I think this way isn't good. Download process take from 1 to 2.5 minutes (size of all files = 8MB, my internet speed = 40Mbps).&lt;/P&gt;&lt;P&gt;Can someone tell me what should I use&amp;nbsp;for increase download speed?&lt;/P&gt;&lt;P&gt;Thanks for answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:24:25 GMT</pubDate>
    <dc:creator>NewUser</dc:creator>
    <dc:date>2019-05-29T09:24:25Z</dc:date>
    <item>
      <title>[Android] Effective way to download files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Android-Effective-way-to-download-files/m-p/213230#M10830</link>
      <description>&lt;P&gt;Hi. In my app I&amp;nbsp;need to download a lot of small files (0.1 - 5MB). For example now I have got 50 files and I download them by using this code foreach:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FileOutputStream fOut = null;
File file = new File(localPATH, localName);
if (file.exists())
      file.delete();
file.createNewFile();
fOut = new FileOutputStream(file);
dbxClient.files().downloadBuilder(remotePATH).start().download(fOut);
fOut.flush();
fOut.close();&lt;/PRE&gt;&lt;P&gt;But I think this way isn't good. Download process take from 1 to 2.5 minutes (size of all files = 8MB, my internet speed = 40Mbps).&lt;/P&gt;&lt;P&gt;Can someone tell me what should I use&amp;nbsp;for increase download speed?&lt;/P&gt;&lt;P&gt;Thanks for answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:24:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Android-Effective-way-to-download-files/m-p/213230#M10830</guid>
      <dc:creator>NewUser</dc:creator>
      <dc:date>2019-05-29T09:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: [Android] Effective way to download files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Android-Effective-way-to-download-files/m-p/213254#M10839</link>
      <description>&lt;P&gt;Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. Sometimes resetting or retrying your connection gets you a different route and better speeds, but that is outside of our control. Some ISPs also throttle sustained connections so if you see an initial high connection speed followed by lower speeds, that could be the reason. The API can't&amp;nbsp;offer a way to control that unfortunately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, in your&amp;nbsp;case, the effective speed you're seeing may be due to the fact that you're trying to download many smaller files. In this&amp;nbsp;example, you need to make 50 distinct API calls, each of which comes with some amount of overhead, reducing the overall speed. Unfortunately, the API doesn't offer&amp;nbsp;a good solution to that,&amp;nbsp;but I'll be sure to pass this along as a feature request for a batch download call.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 14:36:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Android-Effective-way-to-download-files/m-p/213254#M10839</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-25T14:36:50Z</dc:date>
    </item>
  </channel>
</rss>

