- 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
- AddFilesProgressDialog Class HTML5/Flash Uploader PHP
- BaseClientControl Class HTML5/Flash Uploader PHP
- BaseControl Class HTML5/Flash Uploader PHP
- ClientEvents Class HTML5/Flash Uploader PHP
- CommonDialog Class HTML5/Flash Uploader PHP
- ConvertedFile Class HTML5/Flash Uploader PHP
- Converter Class HTML5/Flash Uploader PHP
- DescriptionEditor Class HTML5/Flash Uploader PHP
- DrawTool Class HTML5/Flash Uploader PHP
- FlashControl Class HTML5/Flash Uploader PHP
- ImageEditor Class HTML5/Flash Uploader PHP
- ImagePreviewWindow Class HTML5/Flash Uploader PHP
- ImageUploaderFlash Class HTML5/Flash Uploader PHP
- Messages Class HTML5/Flash Uploader PHP
- Metadata Class HTML5/Flash Uploader PHP
- Package Class HTML5/Flash Uploader PHP
- PaneItem Class HTML5/Flash Uploader PHP
- PostFields Class HTML5/Flash Uploader PHP
- Restrictions Class HTML5/Flash Uploader PHP
- StatusPane Class HTML5/Flash Uploader PHP
- TopPane Class HTML5/Flash Uploader PHP
- UploadErrorDialog Class HTML5/Flash Uploader PHP
- UploadHandler Class HTML5/Flash Uploader PHP
- UploadPane Class HTML5/Flash Uploader PHP
- UploadSettings Class HTML5/Flash Uploader PHP
- UploadSettings Members HTML5/Flash Uploader PHP
- UploadSettings Properties HTML5/Flash Uploader PHP
- ActionUrl Property HTML5/Flash Uploader PHP
- AutoRecoveryFilter Property HTML5/Flash Uploader PHP
- AutoRecoveryMaxAttemptCount Property HTML5/Flash Uploader PHP
- AutoRecoveryTimeout Property HTML5/Flash Uploader PHP
- ChunkSize Property HTML5/Flash Uploader PHP
- ConnectionTimeout Property HTML5/Flash Uploader PHP
- EnableInstantUpload Property HTML5/Flash Uploader PHP
- FilesPerPackage Property HTML5/Flash Uploader PHP
- MaxConnectionCount Property HTML5/Flash Uploader PHP
- ProgressBytesMode Property HTML5/Flash Uploader PHP
- RedirectUrl Property HTML5/Flash Uploader PHP
- UploadConverterOutputSeparately Property HTML5/Flash Uploader PHP
- UrlEncodeFilenames Property HTML5/Flash Uploader PHP
- UploadedFile Class HTML5/Flash Uploader PHP
- AmazonS3Extender Class HTML5/Flash Uploader PHP
- FileSettings Class HTML5/Flash Uploader PHP
- HTML5/Flash Uploader JavaScript Reference
- HTML5/Flash Uploader Client-Side Events Reference
- POST Field Reference
- Licensing Information
- Legal Notices
UploadSettings.ProgressBytesMode Property HTML5/Flash Uploader PHP
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
PHP
Initialize
public function getProgressBytesMode() {
}
public function setProgressBytesMode($value) {
}
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.