{"repo":"apache/cordova-plugin-file-transfer","free":true,"listed":false,"github":"https://github.com/apache/cordova-plugin-file-transfer","clone":"git clone https://github.com/apache/cordova-plugin-file-transfer.git","description":"Apache Cordova File Transfer Plugin","language":"JavaScript","stars":608,"topics":["cordova","library","objective-c","java","nodejs","javascript","mobile","android","hacktoberfest","ios"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"--- cordova-docs build metadata title: File Transfer description: Upload and download files. --- cordova-plugin-file-transfer ) ) Usage notice With the new features introduced in the Fetch API and the XMLHttpRequest, this plugin may not be needed any more for your use case. For small file transfers, you probably won't require this plugin. But, if you plan to handle large downloads, suffering from slow saving, timeouts, or crashes, this plugin is better suited for your use case over the Fetch API or the XMLHttpRequest. Migrating from this plugin to using the new features of XMLHttpRequest, is explained in this Cordova blog post. Description This plugin allows you to upload and download files. This plugin defines global FileTransfer , FileUploadOptions constructors. Although in the global scope, they are not available until after the deviceready event. To get a few ideas, check out the sample at the bottom of this page. Report issues with this plugin on the Apache Cordova issue tracker Installation Supported Platforms - Android - Browser - iOS FileTransfer The FileTransfer object provides a way to upload files using an HTTP multi-part POST or PUT request, and to download files. Properties - onprogress : Called with a ProgressEvent whenever a new chunk of data is transferred. (Function) Methods - upload : Sends a file to a server. - download : Downloads a file from server. - abort : Aborts an in-progress transfer. upload Parameters : - fileURL : Filesystem URL representing the f","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/cordova-plugin-file-transfer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}