To upload large files with Dropbox, you need to use upload sessions.
The utility function below can be used for this purpose.
It uses the Dropbox Python SDK to upload the local file specified as
file_path
to the remote path specified by dest_path
. It also chooses whether or not to use an upload session
based on the size of the file.