FileTransferError

A FileTransferError object is returned via the error callback when an error occurs.

Properties

  • code One of the predefined error codes listed below. (int)
  • source URI to the source (string)
  • target URI to the target (string)
  • http_status HTTP status code. This attribute is only available when a response code is received from the HTTP connection. (int)

Constants

  • FileTransferError.FILE_NOT_FOUND_ERR
  • FileTransferError.INVALID_URL_ERR
  • FileTransferError.CONNECTION_ERR

Description

The FileTransferError object is returned via the error callback when an error occurs when uploading a file.