The EAFlashUpload has a flexible way to customize messages with using formatting constants.
The following table contains description of allowed constants:
Constant name | Description |
---|---|
FILE_INDEX | The index of a file. |
FILE_NAME | The name of a file. |
RESIZED_NAME | The name of a resized image file. |
FILE_SIZE | The formatted size of the file. The formatting of the size value is based on sizeAbbrev |
FILE_TYPE | The type of the file. |
FILE_CREDATE | The creation date of the file on the local disk. |
FILE_MODDATE | The date that the file on the local disk was last modified. |
FILE_SERVER_RESP | The raw data returned from the server after a successful file upload. |
FILE_STATUS | The status string of the file. The value depends on fileStatusXXXMsg properties. |
FILES_COUNT | The count of files that are being contained now in the upload queue. |
TOTAL_FILES_SIZE | The total size of files that are being contained now in the upload queue. The value is formatted based on sizeAbbrev |
FILE_SIZE_LIMIT | The maximum size in bytes of each file that can be added to the upload queue. The value is formatted based on sizeAbbrev |
FILES_COUNT_LIMIT | The maximum count of files which can be added to the upload queue. |
TOTAL_FILES_SIZE_LIMIT | The maximum total size in bytes of all files that can be added to the upload queue. The value is formatted based on sizeAbbrev |
REJ_FILES_COUNT | The count of files that were rejected by a defined policy after one selection operation. |
UPLOAD_URL | The URL of the server script configured to handle upload through HTTP POST calls. |
REDIRECT_URL | The URL to which user will be redirected after successful upload. |
FILE_PERCENTS_DONE | The percents progress of current file. |
PERCENTS_DONE | The percents progress of total upload. |
BYTES_TOTAL | The size of all files that are being uploaded to the server. The value is formatted based on sizeAbbrev |
BYTES_LOADED | The uploaded bytes of the current upload. The value is formatted based on sizeAbbrev |
FILE_BYTES_LOADED | The uploaded bytes of the current uploading file. The value is formatted based on sizeAbbrev |
TRANSFER_RATE | The transfer rate(B/s) of the current upload. |
ELAPSED_TIME | The time that has elapsed since upload begin. The value is formatted based on timeAbbrev |
REMAINING_TIME | The remaining time until the end of upload. The value is formatted based on timeAbbrev |