Skip to content

feat: Support Multiple Files in a Single Multipart Upload #69

Description

@atheless

Feature Request

Plugin

@capacitor/file-transfer

Description

The startUpload function currently only accepts one file path at a time. This means that to upload files to one endpoint I have to send multiple separate requests. However, many real world backends expect a single multipart/form-data request with multiple file parts (e.g. images[0], images[1]) and have atomic logic tied to receiving them together

Can we add support for this? Both Android and iOS have built-in APIs for handling requests, with multiple file parts. So I think it should be possible to implement this feature

Platform(s)

Android, iOS, Web

Preferred Solution

Alternatives

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions