FileUploadResult

A FileUploadResult object is returned via the success callback of the FileTransfer 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 upload method.

iOS Quirks

  • iOS does not include values for responseCode nor bytesSent in the success callback FileUploadResult object.