This version of the documentation is outdated!
Click here for the latest released version.
FileTransferError
A FileTransferError object is passed to an error callback when an error occurs.
Properties
-
code: One of the predefined error codes listed below. (Number)
-
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. (Number)
Constants
FileTransferError.FILE_NOT_FOUND_ERRFileTransferError.INVALID_URL_ERRFileTransferError.CONNECTION_ERRFileTransferError.ABORT_ERR
Description
The FileTransferError object is passed to the error callback when an
error occurs when uploading or downloading a file.