File Processing
The Upload provides configuration options for controlling the way it processes the desired files for upload.
By default, once a file is selected and unless the
autoUpload
option is set tofalse
, the Upload automatically initiates aPOST
request to the server.
The Upload supports the following file-processing operations:
Automatic Upload of Files
The Upload allows the immediate upload of selected files through the default configuration of its autoUpload
option to true
. If you set autoUpload
to false
, the upload will occur only when explicitly confirmed by the user through a button-click.
Upload of Single or Multiple Files
The Upload allows the selection of multiple files through the default configuration of its multiple
option to true
. If you set multiple
to false
, the selection of files will be limited to a single file.
Upload of Batches of Files
The Upload allows the upload of the selected files in separate requests through the default configuration of its batch
option to false
. If you set batch
to true
, all selected files will be uploaded in a single request.