Check documentation for the latest version of dhtmlxSuite dhtmlXFileUploader API DHTMLX Docs

dhtmlXFileUploader API

Methods
clear clears the list of files
enableTitleScreen enables/disables displaying the initial screen (when no files are selected)
getData returns the list of already uploaded files
getStatus returns the status of uploading
setAutoRemove enables the mode in which files are immediately removed from the item after downloading has been completed
setAutoStart enables the mode in which files are immediately loaded after selecting
setSLURL sets the path to the server script file for silverlight mode
setSWFURL sets the path to the server script file for flash mode
setTitleText sets the text of the initial screen
setURL sets the path to the server-side script
upload starts uploading
Events
onBeforeClear fires before the user clears the list of files to upload (clicks the button )
onBeforeFileAdd fires when the user adds a file to the upload queue
onBeforeFileRemove fires before the user removes a single file from the list of files to upload (clicks the button )
onBeforeFileUpload fires before file uploading has started
onClear when the user clears the list of files to upload (clicks on button )
onFileAdd fires when the user adds a file to the upload queue
onFileRemove fires when the user removes single file from the list of files to upload (clicks the button )
onUploadCancel fires when the user cancels uploading of a file (clicks the button ).
onUploadComplete fires when all files from the list have been uploaded to the server
onUploadFail fires when the file upload has failed
onUploadFile fires when a single file from the list has been uploaded to the server
Back to top