|
MultiPowUpload 3.3
ProgressInfo |
Home
page Contact
support |
ProgressInfo object properties
ProgressInfo object provides a way to access the information about the download/upload progress. You cannot create a ProgressInfo object directly. You should obtain it by the getProgressInfo() method of an UniversalUploader object.totalFiles
totalFiles: Number
Total files count in the file list.
var count=universalUploader.getProgressInfo().totalFiles;
totalSize
totalSize: Number
Total size of all files in a list.
var totalSize=universalUploader.getProgressInfo().totalSize;
uploadedFiles
uploadedFiles: Number
Count of the uploaded files.
var uploadedFiles=universalUploader.getProgressInfo().uploadedFiles;
uploadedSize
uploadedSize: Number
Count of the uploaded bytes.
var bytesRead=universalUploader.getProgressInfo().uploadedSize;
getTotalPercent() method
getTotalPercent(): Number
It returns total percent uploaded.
var percent=universalUploader.getProgressInfo().getTotalPercent();
getBandwdth() method
getBandwdth(): Number
It returns current bandwidth, in bytes per second.
var bandwidth=universalUploader.getProgressInfo().getBandwdth();
timeLeft() method
timeLeft(): Number
It returns the count of the seconds left to finish an upload based on the average speed.
var secondsLeftTotal=universalUploader.getProgressInfo().timeLeft();
timeLeftHour() method
timeLeftHour(): Number
It returns the count of the hours left to finish an upload, based on the average speed.
var hoursLeft=universalUploader.getProgressInfo().timeLeftHour();
timeLeftMin() method
timeLeftMin(): Number
It returns the count of the minutes in hour left to finish an upload, based on the average speed. Value from 0 to 60.
var minLeft=universalUploader.getProgressInfo().timeLeftMin();
timeLeftSec() method
timeLeftSec(): Number
It returns the count of the seconds in minute left to finish an upload based on the average speed. Value from 0 to 60.
var secLeft=universalUploader.getProgressInfo().timeLeftSec();
elapsedTime() method
elapsedTime(): Number
It returns the count of the seconds elapsed from beginning of the upload process.
var elapsedSecondsTotal=universalUploader.getProgressInfo().elapsedTime();
elapsedHour() method
elapsedHour(): Number
It returns the count of the hours elapsed from beginning of the upload process.
var hoursElapse=universalUploader.getProgressInfo().elapsedHour();
elapsedMin() method
elapsedMin(): Number
It returns the count of the minutes in an hour elapsed from beginning of the upload process. Value from 0 to 60.
var minElapsed=universalUploader.getProgressInfo().elapsedMin();
elapsedSec() method
elapsedSec(): Number
It returns the count of the seconds in a minute elapsed from beginning of the upload process. Value from 0 to 60.
var secLeft=universalUploader.getProgressInfo().elapsedSec();