Property name |
Default value |
Description |
Auto |
True |
Set to True when the file is selected and uploaded directly, false need to click the Upload button before uploading. |
Buttonclass |
” |
Button style |
Buttoncursor |
' Hand ' |
The way the mouse pointer hovers over the button |
Buttonimage |
Null |
The path to the picture of the browse button. |
ButtonText |
' SELECT FILES ' |
The text of the browse button. |
Checkexisting |
False |
File Upload Recurrence Checker, check if the file to be uploaded exists on the server side, there is return 1, there is no return 0 |
Debug |
False |
If set to True, the debug mode that SWFUpload is enabled |
Fileobjname |
' Filedata ' |
The name of the file upload object, if named ' The_files ', the PHP program can use $_files[' the_files ' to process the uploaded file object. |
Filesizelimit |
0 |
The size limit of the upload file, if the integer type is the size in kilobytes, if it is a string, you can use (B, KB, MB, or GB) units, such as ' 2MB '; If set to 0, it means no limit |
Filetypedesc |
' All Files ' |
This property value must be set to the Filetypeexts property before it is valid to set the prompt text in the Select File dialog box, such as setting Filetypedesc as "Please select RAR doc PDF File" |
Filetypeexts |
‘*.*’ |
Sets the type of file that can be selected, in the form of ' *.doc;*.pdf;*.rar '. |
FormData |
|
The JSON format uploads the additional data submitted to the server at the same time as each file, and can be dynamically set using the ' Settings ' method in the ' Onuploadstart ' event. |
Height |
30 |
Sets the height of the browse button, the default value |
ItemTemplate |
False |
To set up an HTML template for an upload queue, you can use the following tags: the id of the Instanceid–uploadify instance fileid– the ID of this file in the queue, or the name of the filename– file for this task filesize– the size of the current upload file Insert template label using format such as: ${filename} |
Method |
Post |
Submit mode post or get |
Multi |
True |
When set to True, multiple files can be uploaded. |
Overrideevents |
|
Set which events can be rewritten in JSON format, such as: ' Overrideevents ': [' onuploadprogress '] |
Preventcaching |
True |
If true, automatically adds a string of random string parameters each time the file is uploaded, preventing the URL cache from affecting the upload result |
Progressdata |
' Percentage ' |
Set the upload progress display mode, percentage display upload percentage, speed display upload rate |
Queueid |
False |
Sets the ID of the upload queue container dom element and, if false, automatically generates a queue container. |
Queuesizelimit |
999 |
The maximum number of tasks that the queue displays, and if the number of files selected exceeds this limit, the Onselecterror event will be started. Note This is not the maximum number of file uploads and you should set Uploadlimit if you want to limit the maximum number of uploaded files. |
removecompleted |
True |
Whether the completed task is automatically removed from the queue, and if set to false, keeps the task displayed. |
Removetimeout |
3 |
If you set the task to be automatically removed from the queue when it is completed, you can specify the interval from completion to the time of removal. |
Requeueerrors |
False |
If set to True, an error will be returned after a single task upload fails and rejoin the task queue for uploading. |
Successtimeout |
30 |
After successful file upload, the server should return a success flag, this setting returns the time-out of the result |
Swf |
' Uploadify.swf ' |
The relative path to the uploadify.swf file. |
Uploader |
uploadify.php |
The relative path of the spooler. |
Uploadlimit |
999 |
The maximum number of uploaded files that will trigger the Onuploaderror event if this limit is reached or exceeded. |
Width |
120 |
Sets the width of the file browse button. |