cordova-plugin-file-transfer

cordova-plugin-file-transfer

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.

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
    console.log(FileTransfer);
}

To get a few ideas, check out the sample at the bottom of this page or go straight to the reference content.

Report issues with this plugin on the 登录查看完整内容