This cordova plugin is created to use ftp (client) in web/js.



If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic FTP插件的安装(Installation)

ionic cordova plugin add cordova-plugin-ftp npm install @ionic-native/ftp
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/ftp

Ionic FTP插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic FTP插件的用法(Usage)

import { FTP } from '@ionic-native/ftp/ngx';

constructor(private fTP: FTP) { }


this.fTP.connect('ftp_host', 'ftp_user', 'ftp_password')
  .then((res: any) => console.log('Login successful', res))
  .catch((error: any) => console.error(error));