Open
Description
Hi,
I was wondering if DropBox would consider adding a class or function that would wrap files_upload_session_start()
, files_upload_session_append_v2()
and files_upload_session_finish()
.
The command would basically be a wrapper around the solution provided by @greg-db here.
Using the commands individually is not too much of a problem but that would speed up development significantly, as the above statements could basically be condensed down to:
with open(file_path, "rb") as f:
dbx.files_managed_upload(f, target)
One example would be AWS' Boto3 which has the method upload_fileobj()
that can automatically perform multipart uploads if the object size is bigger than the API allows.
Thanks!