LoginSign Up

File Upload

Allow users to attach files to their submission by including this field in the form. By default, it is configured to upload a single file of any type but you can modify this according to your needs.

Number of files and size

To allow uploading more than one file, open the field settings and enable the ‘Accept multiple files’ checkbox. You will see that a new field is displayed, in which you can define the number of files. You can allow users to upload up to 10 files.

In the next field you can also define the size for each of them, with a max. of 20MB per file.

If you need to process the files separately, you can add more than one upload file field to the form, for example, to indicate to the user what content to upload to each of them.

File types

Any type of file can be uploaded by default, although you can modify this option by activating the ‘Specify allowed file types’.

You can select them from the dropdown or indicate the extension of the type of files you want to upload. These two options are not exclusive, so you can combine them

These are the types of files allowed:

File types Media type Extensions
Document text/* .pdf, .rtf', .doc, .docx, .xls, .xslx, .epub, .odp, .ods, .odt, .ppt, .pptx, .rtf, .vsd
Image image/*
Audio audio/*
Video video/*
Archive .zip, .7z, .rar, .gz, .tar

You can also check all the extensions available for each media type here.

Data structure

Once the form is submitted, you can check in the ‘Executions’ tab of the flow the data structure of each file and get the URL to download it.

    "fileUrl": "",
    "fileName": "your-file.pdf",
    "mediaType": "application/pdf",
    "size": "116411"

If you allow the upload of more than one file, it will return a list like the one below.

    "fileUrl": "",
    "fileName": "your-first-file.pdf",
    "mediaType": "application/pdf",
    "size": "116411"
  }, {
    "fileUrl": "",
    "fileName": "your-second-file.pdf",
    "mediaType": "application/pdf",
    "size": "63736"

Table of contents

File Upload guides & tutorials

Discover our step-by-step guides and tutorials to learn using Arengu with File Upload.

No items found.