Skip to main content

Uploader overview

The API set for controlling the work of the Uploader object.

Methods

NameDescription
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

NameDescription
autosendenables automatic sending of the added file
fieldNamesets the name of the file field in the form data
paramsprovides additional parameters for an XMLHttpRequest
singleRequestdefines whether files are sent in one request
targetsets an URL to the server-side script that will process file upload
updateFromResponseupdates file attributes with data from a server response