MultiPowUpload 3.1
ProgressInfo
  Home page
Contact support

ProgressInfo object properties  

ProgressInfo object provides a way to access information of the download/upload progress. You cannot create a ProgressInfo object directly. You should obtain it by the getProgressInfo() method of an MultiPowUpload object.

totalFiles

totalFiles: Number

Description

Total files count in the file list.

Example

var count=MultiPowUpload.getProgressInfo().totalFiles;

 

filesInQueue

filesInQueue: Number

Description

Count of selected for upload files.

Example

var count=MultiPowUpload.getProgressInfo().filesInQueue;

 

totalSize

totalSize: Number

Description

Total size of all files in a list.

Example

var totalSize=MultiPowUpload.getProgressInfo().totalSize;

 

bytesInQueue

bytesInQueue: Number

Description

Total size of all files selected for upload.

Example

var totalSize=MultiPowUpload.getProgressInfo().bytesInQueue;

 

currentListItem

currentListItem: ListItem

Description

Instance of the ListItem object that is currently in progress. If there are no uploads in process, "null" is returned.

Example

var li = MultiPowUpload.getProgressInfo().currentListItem;;

 

currentFileIndex

currentFileIndex: Number

Description

Index of the file that is currently in progress.

Example

var currentFileIndex=MultiPowUpload.getProgressInfo().currentFileIndex;

 


currentFileUploadedBytes

currentFileUploadedBytes: Number

Description

Amount of uploaded bytes of the file that is currently in progress.

Example

var fileBytesRead=MultiPowUpload.getProgressInfo().currentFileUploadedBytes;

 

currentFilePercent

currentFilePercent: Number

Description

Percent of completion of the file that is currently in progress.

Example

var curFilePercent=MultiPowUpload.getProgressInfo().currentFilePercent;

 

totalPercent

totalPercent: Number

Description

Total percent uploaded.

Example

var percent=MultiPowUpload.getProgressInfo().totalPercent;

 

totalUploadedBytes

totalUploadedBytes: Number

Description

Count of the uploaded bytes.

Example

var bytesRead=MultiPowUpload.getProgressInfo().totalUploadedBytes;

 

uploadedFilesCount

uploadedFilesCount: Number

Description

Count of the uploaded files.

Example

var uploadedFiles=MultiPowUpload.getProgressInfo().uploadedFilesCount;

 

transferRate

transferRate: Number

Description

Current bandwidth, in bytes per second.

Example

var bandwidth=MultiPowUpload.getProgressInfo().transferRate;

 

transferRateString

transferRateString: String

Description

String representation of the current bandwidth value.

Example

var bandwidth=MultiPowUpload.getProgressInfo().transferRateString;

 

timeLeft

timeLeft: Number

Description

Count of the seconds left to finish an upload based on the average speed.

Example

var secondsLeftTotal=MultiPowUpload.getProgressInfo().timeLeft;

 

timeLeftHour

timeLeftHour: Number

Description

Count of the hours left to finish an upload, based on the average speed.

Example

var hoursLeft=MultiPowUpload.getProgressInfo().timeLeftHour;

 

timeLeftMin

timeLeftMin: Number

Description

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

Example

var minLeft=MultiPowUpload.getProgressInfo().timeLeftMin;

 

timeLeftSec

timeLeftSec: Number

Description

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

Example

var secLeft=MultiPowUpload.getProgressInfo().timeLeftSec;

 

elapsedTime

elapsedTime: Number

Description

Count of the seconds elapsed from beginning of the upload process.

Example

var elapsedSecondsTotal=MultiPowUpload.getProgressInfo().elapsedTime;

 

elapsedHour

elapsedHour: Number

Description

Count of the hours elapsed from beginning of the upload process.

Example

var hoursElapse=MultiPowUpload.getProgressInfo().elapsedHour;

 

elapsedMin

elapsedMin: Number

Description

Count of the minutes in hour elapsed from beginning of the upload process. Value from 0 to 60.

Example

var minElapsed=MultiPowUpload.getProgressInfo().elapsedMin;

 

elapsedSec

elapsedSec: Number

Description

Count of the seconds in minute elapsed from beginning of the upload process. Value from 0 to 60.

Example

var secLeft=MultiPowUpload.getProgressInfo().elapsedSec;