Skip to content

Starting a multi-input-stream large file upload, and adding the input streams later one-by-one. #96

@bemehiser

Description

@bemehiser

I'm trying to

  1. start a large file upload, then
  2. add parts later as I receive them.

I get the parts as input streams, and one would assume from the REST API that I should be able to upload them one by one. However, it looks like I either need to have all input streams when I start the upload, or copy the data from each input stream to another input stream which the upload is using, and let it manage the parts.

Is it possible to use generic part upload functionality like the REST API b2_upload_part with each input stream as I acquire it, or can that functionality be added or exposed?

I'm currently using revision 3dfc97 (2019-10-08)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions