files

abstract var files: Array<UploadFile>

The array of files being processed, or already uploaded.

Each element is a File object with a number of extra properties to track the upload process:

  • uploadTarget: The target URL used to upload this file.

  • elapsed: Elapsed time since the upload started.

  • elapsedStr: Human-readable elapsed time.

  • remaining: Number of seconds remaining for the upload to finish.

  • remainingStr: Human-readable remaining time for the upload to finish.

  • progress: Percentage of the file already uploaded.

  • speed: Upload speed in kB/s.

  • size: File size in bytes.

  • totalStr: Human-readable total size of the file.

  • loaded: Bytes transferred so far.

  • loadedStr: Human-readable uploaded size at the moment.

  • status: Status of the upload process.

  • error: Error message in case the upload failed.

  • abort: True if the file was canceled by the user.

  • complete: True when the file was transferred to the server.

  • uploading: True while transferring data to the server.