MultiPowUpload 3.1
ProgressInfo |
![]() ![]() |
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
Total files count in the file list.
var count=MultiPowUpload.getProgressInfo().totalFiles;
filesInQueue
filesInQueue: Number
Count of selected for upload files.
var count=MultiPowUpload.getProgressInfo().filesInQueue;
totalSize
totalSize: Number
Total size of all files in a list.
var totalSize=MultiPowUpload.getProgressInfo().totalSize;
bytesInQueue
bytesInQueue: Number
Total size of all files selected for upload.
var totalSize=MultiPowUpload.getProgressInfo().bytesInQueue;
currentListItem
currentListItem: ListItem
Instance of the ListItem object that is currently in progress. If there are no uploads in process, "null" is returned.
var li = MultiPowUpload.getProgressInfo().currentListItem;
;
currentFileIndex
currentFileIndex: Number
Index of the file that is currently in progress.
var currentFileIndex=MultiPowUpload.getProgressInfo().currentFileIndex;
currentFileUploadedBytes: Number
Amount of uploaded bytes of the file that is currently in progress.
var fileBytesRead=MultiPowUpload.getProgressInfo().currentFileUploadedBytes;
currentFilePercent
currentFilePercent: Number
Percent of completion of the file that is currently in progress.
var curFilePercent=MultiPowUpload.getProgressInfo().currentFilePercent;
totalPercent
totalPercent: Number
Total percent uploaded.
var percent=MultiPowUpload.getProgressInfo().totalPercent;
totalUploadedBytes
totalUploadedBytes: Number
Count of the uploaded bytes.
var bytesRead=MultiPowUpload.getProgressInfo().totalUploadedBytes;
uploadedFilesCount
uploadedFilesCount: Number
Count of the uploaded files.
var uploadedFiles=MultiPowUpload.getProgressInfo().uploadedFilesCount;
transferRate
transferRate: Number
Current bandwidth, in bytes per second.
var bandwidth=MultiPowUpload.getProgressInfo().transferRate;
transferRateString
transferRateString: String
String representation of the current bandwidth value.
var bandwidth=MultiPowUpload.getProgressInfo().transferRateString;
timeLeft
timeLeft: Number
Count of the seconds left to finish an upload based on the average speed.
var secondsLeftTotal=MultiPowUpload.getProgressInfo().timeLeft;
timeLeftHour
timeLeftHour: Number
Count of the hours left to finish an upload, based on the average speed.
var hoursLeft=MultiPowUpload.getProgressInfo().timeLeftHour;
timeLeftMin
timeLeftMin: Number
Count of the minutes in hour left to finish an upload, based on the average speed. Value from 0 to 60.
var minLeft=MultiPowUpload.getProgressInfo().timeLeftMin;
timeLeftSec
timeLeftSec: Number
Count of the seconds in minute left to finish an upload based on the average speed. Value from 0 to 60.
var secLeft=MultiPowUpload.getProgressInfo().timeLeftSec;
elapsedTime
elapsedTime: Number
Count of the seconds elapsed from beginning of the upload process.
var elapsedSecondsTotal=MultiPowUpload.getProgressInfo().elapsedTime;
elapsedHour
elapsedHour: Number
Count of the hours elapsed from beginning of the upload process.
var hoursElapse=MultiPowUpload.getProgressInfo().elapsedHour;
elapsedMin
elapsedMin: Number
Count of the minutes in hour elapsed from beginning of the upload process. Value from 0 to 60.
var minElapsed=MultiPowUpload.getProgressInfo().elapsedMin;
elapsedSec
elapsedSec: Number
Count of the seconds in minute elapsed from beginning of the upload process. Value from 0 to 60.
var secLeft=MultiPowUpload.getProgressInfo().elapsedSec;