dropbox-sdk-python
                                
                                 dropbox-sdk-python copied to clipboard
                                
                                    dropbox-sdk-python copied to clipboard
                            
                            
                            
                        Feature request: Add wrapper allowing for uploads of all sizes
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!
Thanks for writing this up! I can't make any promises as to if/when this would be implemented, but I'll send this along to the team.
Thank you!