FileUploadResult

A FileUploadResult object is passed to the success callback of the [FileTransfer](../filetransfer/filetransfer.html) object's upload() method.

Properties

  • bytesSent: The number of bytes sent to the server as part of the upload. (long)

  • responseCode: The HTTP response code returned by the server. (long)

  • response: The HTTP response returned by the server. (DOMString)

Description

The FileUploadResult object is returned via the success callback of the [FileTransfer](../filetransfer/filetransfer.html) object's upload() method.

iOS Quirks

  • Does not support responseCode or bytesSent.