Skip to content

Feature request: Add wrapper allowing for uploads of all sizes #214

Closed

Description

@BastianZim

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!

Activity

  1. changed the title [-]Feature request: Add wrapper allowing for uploads of arbitrary sizes[/-] [+]Feature request: Add wrapper allowing for uploads of all sizes[/+] on Aug 21, 2020
  2. greg-db commented on Aug 21, 2020

    @greg-db
    Contributor

    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.

  3. BastianZim commented on Aug 21, 2020

    @BastianZim
    ContributorAuthor

    Thank you!

  4. AndreyVMarkelov commented on Aug 17, 2026

    @AndreyVMarkelov
    Contributor

    Closing as completed by #581.

    The new dropbox.file_transfer helpers provide a high-level upload API that manages upload sessions automatically, including large files, retries, progress reporting, validation, and optional parallel uploads.

    See Uploader, FileUpload / ReaderUpload, and UploadOptions introduced in #581.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions