<?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: How To Get Upload Progress Of A Uploading File With Dropbox Core API? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-To-Get-Upload-Progress-Of-A-Uploading-File-With-Dropbox-Core/m-p/109136#M3192</link>
    <description>&lt;P&gt;The PHP Core SDK doesn't currently offer a way to track progress on file uploads using &lt;CODE&gt;uploadFile&lt;/CODE&gt;, but I'll be sure to pass this along as a request.&lt;/P&gt;

&lt;P&gt;For reference, the &lt;CODE&gt;uploadFile&lt;/CODE&gt; method just blocks until the upload is complete. Alternatively, especially for larger files, you may want to use the "chunked uploading" methods manually, in which case you'l be able to see when each chunk is done:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#" rel="nofollow noreferrer"&gt;http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#&lt;/A&gt;&lt;EM&gt;chunkedUploadStart&lt;BR /&gt;
&lt;A href="http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_chunkedUploadContinue" rel="nofollow noreferrer"&gt;http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_chunkedUploadContinue&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#" rel="nofollow noreferrer"&gt;http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#&lt;/A&gt;&lt;/EM&gt;chunkedUploadFinish&lt;/P&gt;</description>
    <pubDate>Fri, 13 Feb 2015 03:34:53 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-02-13T03:34:53Z</dc:date>
    <item>
      <title>How To Get Upload Progress Of A Uploading File With Dropbox Core API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-To-Get-Upload-Progress-Of-A-Uploading-File-With-Dropbox-Core/m-p/109135#M3191</link>
      <description>&lt;P&gt;I'm currently using PHP + jQuery + Ajax to upload a file to my own dropbox account using localhost. I need to know how can I add a progressbar to this. Is there any way to do this? Currently I'm uploading files like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;// all vars declared and initialized above

$result = $dbxClient-&amp;gt;uploadFile("/{$userName}/{$_FILES['fileAttached']['name']}", dbx\WriteMode::add(), $file);

print_r($result);

// works like a charm.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But it doesn't let me know time remaining/upload progress. Any way to achieve it? Note: I'm using dropbox's CORE PHP API.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:45:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-To-Get-Upload-Progress-Of-A-Uploading-File-With-Dropbox-Core/m-p/109135#M3191</guid>
      <dc:creator>Mehul M.</dc:creator>
      <dc:date>2019-05-29T09:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: How To Get Upload Progress Of A Uploading File With Dropbox Core API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-To-Get-Upload-Progress-Of-A-Uploading-File-With-Dropbox-Core/m-p/109136#M3192</link>
      <description>&lt;P&gt;The PHP Core SDK doesn't currently offer a way to track progress on file uploads using &lt;CODE&gt;uploadFile&lt;/CODE&gt;, but I'll be sure to pass this along as a request.&lt;/P&gt;

&lt;P&gt;For reference, the &lt;CODE&gt;uploadFile&lt;/CODE&gt; method just blocks until the upload is complete. Alternatively, especially for larger files, you may want to use the "chunked uploading" methods manually, in which case you'l be able to see when each chunk is done:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#" rel="nofollow noreferrer"&gt;http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#&lt;/A&gt;&lt;EM&gt;chunkedUploadStart&lt;BR /&gt;
&lt;A href="http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_chunkedUploadContinue" rel="nofollow noreferrer"&gt;http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_chunkedUploadContinue&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#" rel="nofollow noreferrer"&gt;http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#&lt;/A&gt;&lt;/EM&gt;chunkedUploadFinish&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2015 03:34:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-To-Get-Upload-Progress-Of-A-Uploading-File-With-Dropbox-Core/m-p/109136#M3192</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-02-13T03:34:53Z</dc:date>
    </item>
  </channel>
</rss>

