UploadDriver

Implements file uploader driver.

Methods
fileDialog opens a file browsing dialog on a client machine
send sends files from uploader body to server
stopUpload cancels the current upload
Events
onAfterFileDrop fires after files were dropped
onBeforeFileDrop fires before files are dropped
onFileUploadError fires in case of an unsuccessful upload
Properties
accept specifies particular file types that will be accepted for uploading
datatype the type of serverside response
directory allows uploading a folder with files
formData extra data that will be sent to the server side along with the file uploading
multiple enables uploading of several files at a time.
upload path to the script file that will handle uploading
Other
$drop the method is called when files are dropped over the uploader
$render the method is called for rendering the upload area
Back to top