The API set for controlling the work of the Uploader object.
Methods
| Name | Description |
|---|
| abort() | cancels the upload of a file(s) |
| linkDropArea() | links an extra area for dropping files for upload to Uploader |
| unlinkDropArea() | unlinks an extra drop area from Uploader |
| selectFile() | opens the dialog for selecting a new file (files) for adding to Uploader |
| send() | sends a POST request for file upload to a server-side URL |
Properties
| Name | Description |
|---|
| autosend | enables automatic sending of the added file |
| fieldName | sets the name of the file field in the form data |
| params | provides additional parameters for an XMLHttpRequest |
| singleRequest | defines whether files are sent in one request |
| target | sets an URL to the server-side script that will process file upload |
| updateFromResponse | updates file attributes with data from a server response |