The Upload component provides multiple configuration options for fine tunning the way files are processed for upload.
The following file-processing operations are supported:
- Automatic upload of files
- Upload of single or multiple files
- Upload of batches of files
- Upload of files in chunks
- Sequential Upload
Automatic Upload of Files
By default the selected files are immediately uploaded. If you set autoUpload option of the component to
false, the upload will occur only when explicitly confirmed by the user through a button click.
Once a file is selected and unless the autoUpload option is set to
false, the Upload automatically initiates a
POSTrequest to the server.
Upload of Single or Multiple Files
The Upload allows the selection of multiple files by default. If you set the multiple option of the component to
false, the selection will be limited to a single file.
Upload of Batches of Files
The Upload allows handling and uploading the selected files as a single batch.
More information and example is available on the Batch Upload documentation page.
Upoad of Files in Chunks
The selected files can be split into chunks and send to the server asynchronously through multiple requests.
More information and example is available on the Chunk Upload documentation page.
To enable sequential uploading of multiple files set the concurrent option to
false. In this case each file upload request will be initiated only after the previous one has finished.