Visitar URL original
Uploading multiple files · Issue #527 · form-data/form-data · GitHub
Skip to content

Uploading multiple files #527

Open
Open

Description

@steve-king-ky

Is it possible (or advisable) to append more than one file to the same name?

For example,

formData.append('my_files', fs.createReadStream('file1.pdf'))
formData.append('my_files', fs.createReadStream('file2.pdf'))
...

Activity

  1. dheerajaggarwal commented on Feb 8, 2022

    @dheerajaggarwal

    Yes, I think, it is possible to append more than one file using the same name. I have tried it and it is working absolutely fine at my end.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions