Skip to content

Feature request: multipart uploads for wrangler r2 object put #162

Description

@akshatagarwl

Which Cloudflare product does this pertain to?

R2 / Wrangler CLI

Version

Wrangler 4.162.0, macOS arm64.

Feature request

Please add a multipart-capable remote R2 upload path, for example wrangler r2 object put --remote --multipart --file <file> <bucket>/<key>.

Reproduction / current limitation

  1. Prepare a ~1 GiB local file and an existing private bucket.
  2. Inspect wrangler r2 object put --help: there is no multipart or upload-part option.
  3. The remote single-request REST transport has a ~300 MiB ceiling. Files larger than that require S3 credentials or a custom Worker; the CLI cannot complete the upload itself.

Expected: stream parts with bounded memory, retry/resume or abort safely, and provide final size/integrity verification. Existing authenticated CLI access should not require provisioning separate S3 keys just to upload one large file.

A temporary secret-gated, one-key Worker using createMultipartUpload / uploadPart / complete successfully uploaded a ~1 GiB file in 90 MiB parts. Full authenticated readback matched SHA256 and MD5. The Worker was deleted afterward. R2 supports the object; a first-class CLI transport is missing.

Related cf CLI request: cloudflare/cf#656

Not reporting the expired-OAuth/non-interactive-login message here: an existing report covers that separate diagnostic problem (#15886).

Activity

  1. workers-devprod commented on Nov 17, 2026

    @workers-devprod
    Collaborator

    Automated triage

    Issue assessment

    • Actionability: ✅ Actionable.
    • Type: Feature.
    • Reproduction: Skipped automatically.
    • Labels:
      • enhancement (high)
      • product:r2 (high)
      • package:wrangler (high)
    Actionability and missing information

    Feature request adding multipart upload support to wrangler r2 object put: specifies Wrangler version, the ~300 MiB remote single-request ceiling, proposed CLI flags, streaming/retry/integrity expectations, and Worker-based validation, so maintainers can act directly.

    Reproduction reason: The report requests a new multipart upload capability for wrangler r2 object put and documents current limits, not an incorrect current-behavior defect, so there is no defect to reproduce.


    This summary was generated by an LLM and may contain errors. Please verify its findings.

    Triage bot commands and options

    Repository collaborators with write or admin access can trigger actions by commenting on this issue:

    • @workers-devprod reproduce: Attempt to reproduce the issue using its description and recent comments.
  2. added
    enhancementNew feature or request
    product:r2Relating to Cloudflare R2: https://developers.cloudflare.com/r2/
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestproduct:r2Relating to Cloudflare R2: https://developers.cloudflare.com/r2/

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions