- Upload Suite Overview
- What's New?
- Choosing Upload Technology
- Evaluating Upload Suite
- Upload Suite Editions
- System Requirements
- Installation and Deployment Notes
- ActiveX/Java Uploader
- HTML5/Flash Uploader
- Before You Started with HTML5/Flash Uploader
- HTML5/Flash Uploader Architecture
- HTML5/Flash Uploader User Interface
- Getting Started
- Using HTML5/Flash Uploader
- Troubleshooting
- Reference
- HTML5/Flash Uploader ASP.NET Reference
- HTML5/Flash Uploader PHP Reference
- HTML5/Flash Uploader JavaScript Reference
- $au Namespace HTML5/Flash Uploader JavaScript
- addFilesProgressDialog Class HTML5/Flash Uploader JavaScript
- commonDialog Class HTML5/Flash Uploader JavaScript
- converter Class HTML5/Flash Uploader JavaScript
- converters Class HTML5/Flash Uploader JavaScript
- debug Class HTML5/Flash Uploader JavaScript
- descriptionEditor Class HTML5/Flash Uploader JavaScript
- drawTool Class HTML5/Flash Uploader JavaScript
- event Class HTML5/Flash Uploader JavaScript
- events Class HTML5/Flash Uploader JavaScript
- file Class HTML5/Flash Uploader JavaScript
- files Class HTML5/Flash Uploader JavaScript
- flashControl Class HTML5/Flash Uploader JavaScript
- imageEditor Class HTML5/Flash Uploader JavaScript
- imagePreviewWindow Class HTML5/Flash Uploader JavaScript
- imageUploaderFlash Class HTML5/Flash Uploader JavaScript
- informationBar Class HTML5/Flash Uploader JavaScript
- messages Class HTML5/Flash Uploader JavaScript
- metadata Class HTML5/Flash Uploader JavaScript
- paneItem Class HTML5/Flash Uploader JavaScript
- restrictions Class HTML5/Flash Uploader JavaScript
- statusPane Class HTML5/Flash Uploader JavaScript
- topPane Class HTML5/Flash Uploader JavaScript
- uploadErrorDialog Class HTML5/Flash Uploader JavaScript
- uploadPane Class HTML5/Flash Uploader JavaScript
- uploadSettings Class HTML5/Flash Uploader JavaScript
- uploadSettings Members HTML5/Flash Uploader JavaScript
- uploadSettings Properties HTML5/Flash Uploader JavaScript
- actionUrl Property HTML5/Flash Uploader JavaScript
- autoRecoveryFilter Property HTML5/Flash Uploader JavaScript
- autoRecoveryMaxAttemptCount Property HTML5/Flash Uploader JavaScript
- autoRecoveryTimeout Property HTML5/Flash Uploader JavaScript
- chunkSize Property HTML5/Flash Uploader JavaScript
- connectionTimeout Property HTML5/Flash Uploader JavaScript
- enableInstantUpload Property HTML5/Flash Uploader JavaScript
- filesPerPackage Property HTML5/Flash Uploader JavaScript
- maxConnectionCount Property HTML5/Flash Uploader JavaScript
- progressBytesMode Property HTML5/Flash Uploader JavaScript
- redirectUrl Property HTML5/Flash Uploader JavaScript
- uploadConverterOutputSeparately Property HTML5/Flash Uploader JavaScript
- urlEncodeFilenames Property HTML5/Flash Uploader JavaScript
- $au.amazonS3Extender Namespace HTML5/Flash Uploader JavaScript
- $au Namespace HTML5/Flash Uploader JavaScript
- HTML5/Flash Uploader Client-Side Events Reference
- POST Field Reference
- Licensing Information
- Legal Notices
uploadSettings.progressBytesMode Property HTML5/Flash Uploader JavaScript
Supported technologies:
Gets or sets a value specifying how to estimate the total size of the upload session as well as the amount of bytes that have already been sent to a server.
Syntax
JavaScript
Initialize
$au.imageUploaderFlash({
uploadSettings: {
//...other params...
progressBytesMode: "ByTotalSize",
//...other params...
}
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').uploadSettings().progressBytesMode(value);
value = $au.imageUploaderFlash('uploaderID').uploadSettings().progressBytesMode();
Property Value
Type: String
The progress bytes estimation mode.
The following values are supported:
| Value | Description |
|---|---|
| ByFileCount | The progress is based on the number of uploaded files rather than amount of bytes. |
| ByTotalSize | The total upload size is used to calculate the progress (including the resized files). This size is not known beforehand and it is estimated based on the size of uploaded data. It may be a bit inaccurate for the first few files, but the precision is increased with each new uploaded file. |
| ByPackageSize | The size of the uploaded session and the uploaded bytes are measured by the size of the current package. Thus, this mode is the nearest estimation of the uploaded bytes when you set several converters and upload all files in one package. |
| BySourceSize | The size of the upload session and the uploaded bytes are measured by sizes of user-selected files. For example, if you select two files of 5 and 10 Mb, the total upload size will be 15 Mb and the amount of uploaded bytes will grow from 0 to 15 Mb during the upload, regardless of converted files and other auxiliary data. Thus, this mode is the nearest estimation of the uploaded bytes when you upload original files only. |
Default value is "ByTotalSize".
Remarks
This property determines how to estimate the total size of the upload session as well as the amount of bytes that have already been sent to a server. These data are used in the uploading files dialog and the Progress event.