The class used in this upload is my original upload class, which has been modified for non-refresh upload (normal upload is also available)
Display the upload process in detail, including progress bar, upload percentage, total upload data size, current upload data size, upload process time, etc. . .
The progress bar style can be modified by yourself, the style file is css.css
For specific process information, please see the description of the information object in getInformation(info) in js/custom.js
This time, a method setApp has been added to the upload class to set the Application;
Call the method Upload.setApp state,total,current,description
Parameter description:
state--Current state, please check the state description in the getInformation(info) function in js/custom.js for the recommended value.
total--Total upload data size
current--Uploaded data size
description--description, mainly used when an error occurs, generally use a null value
Please keep the settings for Application in upload.asp (there are four settings in total, the last one can be optionally deleted)
Important updates:
1. Encapsulates JS calls, making uploading more convenient
2. Added the function of returning the list of files uploaded by the user (an array) and the function of calculating the upload speed.
Expand