- Accelerometer
- Camera
- Capture
- Compass
- Connection
- Contacts
- Device
- Events
- File
- Geolocation
- Globalization
- InAppBrowser
- Media
- Notification
- Splashscreen
- Storage
- Getting Started Guides
- Command-Line Usage
- Privacy Guide
- Upgrading Guides
- Project Settings
- Plugin Development Guide
- Domain Whitelist Guide
- Embedding WebView
This version of the documentation is outdated!
Click here for the latest released version.
FileTransferError
A FileTransferError
object is returned via the 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)
- body Response body. This attribute is only available when a response is received from the HTTP connection. Available only on Android, iOS. (String)
Constants
FileTransferError.FILE_NOT_FOUND_ERR
FileTransferError.INVALID_URL_ERR
FileTransferError.CONNECTION_ERR
FileTransferError.ABORT_ERR
Description
The FileTransferError
object is returned via the error callback when an error occurs when uploading or downloading a file.