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

Description

Total files count in the file list.

Example

var count=universalUploader.getProgressInfo().totalFiles;

 

totalSize

totalSize: Number

Description

Total size of all files in a list.

Example

var totalSize=universalUploader.getProgressInfo().totalSize;

 

uploadedFiles

uploadedFiles: Number

Description

Count of the uploaded files.

Example

var uploadedFiles=universalUploader.getProgressInfo().uploadedFiles;

 

uploadedSize

uploadedSize: Number

Description

Count of the uploaded bytes.

Example

var bytesRead=universalUploader.getProgressInfo().uploadedSize;

 

getTotalPercent() method

getTotalPercent(): Number

Description

It returns total percent uploaded.

Example

var percent=universalUploader.getProgressInfo().getTotalPercent();

 

getBandwdth() method

getBandwdth(): Number

Description

It returns current bandwidth, in bytes per second.

Example

var bandwidth=universalUploader.getProgressInfo().getBandwdth();

 

timeLeft() method

timeLeft(): Number

Description

It returns the count of the seconds left to finish an upload based on the average speed.

Example

var secondsLeftTotal=universalUploader.getProgressInfo().timeLeft();

 

timeLeftHour() method

timeLeftHour(): Number

Description

It returns the count of the hours left to finish an upload, based on the average speed.

Example

var hoursLeft=universalUploader.getProgressInfo().timeLeftHour();

 

timeLeftMin() method

timeLeftMin(): Number

Description

It returns the count of the minutes in hour left to finish an upload, based on the average speed. Value from 0 to 60.

Example

var minLeft=universalUploader.getProgressInfo().timeLeftMin();

 

timeLeftSec() method

timeLeftSec(): Number

Description

It returns the count of the seconds in minute left to finish an upload based on the average speed. Value from 0 to 60.

Example

var secLeft=universalUploader.getProgressInfo().timeLeftSec();

 

elapsedTime() method

elapsedTime(): Number

Description

It returns the count of the seconds elapsed from beginning of the upload process.

Example

var elapsedSecondsTotal=universalUploader.getProgressInfo().elapsedTime();

 

elapsedHour() method

elapsedHour(): Number

Description

It returns the count of the hours elapsed from beginning of the upload process.

Example

var hoursElapse=universalUploader.getProgressInfo().elapsedHour();

 

elapsedMin() method

elapsedMin(): Number

Description

It returns the count of the minutes in an hour elapsed from beginning of the upload process. Value from 0 to 60.

Example

var minElapsed=universalUploader.getProgressInfo().elapsedMin();

 

elapsedSec() method

elapsedSec(): Number

Description

It returns the count of the seconds in a minute elapsed from beginning of the upload process. Value from 0 to 60.

Example

var secLeft=universalUploader.getProgressInfo().elapsedSec();