<?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 know upload progress to use it in QProgressBar (python) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-know-upload-progress-to-use-it-in-QProgressBar-python/m-p/296886#M18014</link>
    <description>&lt;P&gt;The&amp;nbsp;Dropbox Python SDK doesn't offer a way to track progress of uploads,&amp;nbsp;but I'll pass this along as a feature request.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 17:06:07 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-09-12T17:06:07Z</dc:date>
    <item>
      <title>How to know upload progress to use it in QProgressBar (python)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-know-upload-progress-to-use-it-in-QProgressBar-python/m-p/296867#M18013</link>
      <description>&lt;P&gt;this is my code please edit it to get the value of upload progress.&lt;/P&gt;&lt;PRE&gt;import pathlib
import dropbox
import re

# the source file
folder = pathlib.Path("C:\\Users\\Hossam\\Desktop\\test\\backup")    # located in this folder
filename = "20180911-183844.sql"         # file name
filepath = folder / filename  # path object, defining the file

# target location in Dropbox
target = "/home/Apps/Sinapi"              # the target folder
targetfile = target + filename   # the target path and file name

# Create a dropbox object using an API v2 key
d = dropbox.Dropbox('my_access')

# open the file and upload it
with filepath.open("rb") as f:
   # upload gives you metadata about the file
   # we want to overwite any previous version of the file
   meta = d.files_upload(f.read(), targetfile, mode=dropbox.files.WriteMode("overwrite"))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-know-upload-progress-to-use-it-in-QProgressBar-python/m-p/296867#M18013</guid>
      <dc:creator>hossamalamsto5</dc:creator>
      <dc:date>2019-05-29T09:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to know upload progress to use it in QProgressBar (python)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-know-upload-progress-to-use-it-in-QProgressBar-python/m-p/296886#M18014</link>
      <description>&lt;P&gt;The&amp;nbsp;Dropbox Python SDK doesn't offer a way to track progress of uploads,&amp;nbsp;but I'll pass this along as a feature request.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 17:06:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-know-upload-progress-to-use-it-in-QProgressBar-python/m-p/296886#M18014</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-12T17:06:07Z</dc:date>
    </item>
  </channel>
</rss>

