<?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 Best Way To Upload Thousands of Files .NET API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-Way-To-Upload-Thousands-of-Files-NET-API/m-p/273716#M16293</link>
    <description>&lt;P&gt;I have an application that retrieves thousands (across all clients) of PDFs daily from a Point of Sale (POS) computer system. I then upload those files to the users Dropbox account for paperwork retention laws, but as my business expands this process takes several hours daily now and I'm looking to speed it up before it becomes a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I simply iterate through each file and use UploadAsync for each one. The files are small averaging less 50k each, but the UploadAsync can take 2-3 seconds each (sometimes faster). Doing the math, the upload process can take 3-4 hours.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So. . . what is the fastest way to do this? Do I simply need to create parallel processes and upload say 10 at a time in parallel, or is there another way. I've seen an UploadSessionStart call that is referenced on the Data Ingress Guide here — &lt;A href="https://www.dropbox.com/developers/reference/data-ingress-guide" target="_blank"&gt;https://www.dropbox.com/developers/reference/data-ingress-guide&lt;/A&gt;. But I can't find any sample code for such things officially or by any user and can't figure it out myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA — Shawn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:13:45 GMT</pubDate>
    <dc:creator>Dominoid</dc:creator>
    <dc:date>2019-05-29T09:13:45Z</dc:date>
    <item>
      <title>Best Way To Upload Thousands of Files .NET API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-Way-To-Upload-Thousands-of-Files-NET-API/m-p/273716#M16293</link>
      <description>&lt;P&gt;I have an application that retrieves thousands (across all clients) of PDFs daily from a Point of Sale (POS) computer system. I then upload those files to the users Dropbox account for paperwork retention laws, but as my business expands this process takes several hours daily now and I'm looking to speed it up before it becomes a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I simply iterate through each file and use UploadAsync for each one. The files are small averaging less 50k each, but the UploadAsync can take 2-3 seconds each (sometimes faster). Doing the math, the upload process can take 3-4 hours.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So. . . what is the fastest way to do this? Do I simply need to create parallel processes and upload say 10 at a time in parallel, or is there another way. I've seen an UploadSessionStart call that is referenced on the Data Ingress Guide here — &lt;A href="https://www.dropbox.com/developers/reference/data-ingress-guide" target="_blank"&gt;https://www.dropbox.com/developers/reference/data-ingress-guide&lt;/A&gt;. But I can't find any sample code for such things officially or by any user and can't figure it out myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA — Shawn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:13:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-Way-To-Upload-Thousands-of-Files-NET-API/m-p/273716#M16293</guid>
      <dc:creator>Dominoid</dc:creator>
      <dc:date>2019-05-29T09:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Best Way To Upload Thousands of Files .NET API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-Way-To-Upload-Thousands-of-Files-NET-API/m-p/273884#M16300</link>
      <description>Using upload sessions and batch committing as outlined in the data ingress guide you linked to is the best way to do this.&lt;BR /&gt;&lt;BR /&gt;We don't have a sample of using that in .NET SDK, but there is a basic example of using upload sessions (without the batch commit) here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/issues/28" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-dotnet/issues/28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That should be a good starting point for implementing this and then adding the batch commit.</description>
      <pubDate>Wed, 25 Apr 2018 17:37:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-Way-To-Upload-Thousands-of-Files-NET-API/m-p/273884#M16300</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-25T17:37:12Z</dc:date>
    </item>
  </channel>
</rss>

