All Projects → xfally → cordova-plugin-ftp

xfally / cordova-plugin-ftp

Licence: other
A cordova plugin to use ftp (client) in web/js for both iOS and Android.

Programming Languages

objective c
16641 projects - #2 most used programming language
javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to cordova-plugin-ftp

bitpocket-mobile-app
Mobile app for accepting bitcoin payments at the point of sale (Bitcoin POS).
Stars: ✭ 26 (-18.75%)
Mutual labels:  cordova
system-designer-cordova
System Designer for iOS & Android devices
Stars: ✭ 14 (-56.25%)
Mutual labels:  cordova
cordova-plugin-xpay
💰 This is a app payment cordova-plugin, support wechat payment and alipay temporally.
Stars: ✭ 19 (-40.62%)
Mutual labels:  cordova
cordova-swift3-plugin-example
Swift 3 Cordova plugin example to support blog post.
Stars: ✭ 23 (-28.12%)
Mutual labels:  cordova
example-cordova-code-push-plugin
Ionic + Cordova Code Push Plugin Example
Stars: ✭ 45 (+40.63%)
Mutual labels:  cordova
Ionic-ElastiChat-with-Images
Ionic Magic Chat with Angular Elastic, Autolinker.js and more!
Stars: ✭ 66 (+106.25%)
Mutual labels:  cordova
v-cupertino
A Vue 3 Wrapper for Cupertino Pane Library
Stars: ✭ 17 (-46.87%)
Mutual labels:  cordova
ionic-docker
An ionic image for CI
Stars: ✭ 56 (+75%)
Mutual labels:  cordova
cordova-plugin-dbcopy
Copy SQLite Database from www folder to default app database location
Stars: ✭ 90 (+181.25%)
Mutual labels:  cordova
webgui
Web Technologies based Crossplatform GUI Framework with Dark theme
Stars: ✭ 81 (+153.13%)
Mutual labels:  cordova
kafka-connect-ftp
A Kafka Connect Source for FTP servers - Monitors files on an FTP server and feeds changes into Kafka
Stars: ✭ 46 (+43.75%)
Mutual labels:  ftp
native-xr-for-web
Add iOS and Android build with AR capabilities to your website or web-based app.
Stars: ✭ 27 (-15.62%)
Mutual labels:  cordova
cordova-plugin-flurryanalytics
Adds support for all that Flurry Analytics flavored goodness to your Cordova based apps
Stars: ✭ 23 (-28.12%)
Mutual labels:  cordova
cordova-plugin-webserver
A webserver plugin for cordova
Stars: ✭ 101 (+215.63%)
Mutual labels:  cordova
floyer
🚀 Floyer is simple and fast deployment tool using git/svn and (S)FTP - especially useful for shared hosting.
Stars: ✭ 57 (+78.13%)
Mutual labels:  ftp
docker-vsftpd
vsftpd Docker Image
Stars: ✭ 39 (+21.88%)
Mutual labels:  ftp
cordova-ubuntu
[DEPRECATED] Apache Cordova
Stars: ✭ 25 (-21.87%)
Mutual labels:  cordova
daftarkaryaku
daftar beragam karyaku . . .
Stars: ✭ 26 (-18.75%)
Mutual labels:  cordova
cordova-plugin-apkupdater
This plugin allows your Android app to download and install compressed updates without the Google Play Store.
Stars: ✭ 46 (+43.75%)
Mutual labels:  cordova
cordova-plugin-document-scanner
cordova plugin for document scan
Stars: ✭ 77 (+140.63%)
Mutual labels:  cordova

cordova-plugin-ftp

Description

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

Support both iOS and Android platform now.

You can do the following things:

  • List a directory
  • Create a directory
  • Delete a directory (must be empty)
  • Delete a file
  • Download a file (with percent info)
  • Upload a file (with percent info)
  • Cancel upload/download
  • Set SSL/TLS connection (only Android supported)
  • Judge is connected (only Android supported)

Installation

$ cordova plugin add cordova-plugin-ftp
$ cordova prepare

Dependency:

  • For iOS, the plugin depends on CFNetwork.framework, which has been added to plugin.xml, and cordova prepare will add it automatically to platform project. if not, add it by hand.
  • But for Android, it depends on com.android.support:support-v4:23.2.0, which should be added to your platform project by hand.

Usage

You can access this plugin by js object window.cordova.plugin.ftp or cordova.plugin.ftp.

Refer to test (include ftp4es6.js to show ES6 (ES2015) encapsulation) for usage example.

Refer to ftp.js for all available APIs and usages.

This plugin has been tested with:

  • Cordova 10.0
    • cordova-android 9.1.0
    • cordova-ios 6.2.0
  • Android 10.0 API 29, 11.0 API 30 (built by Android Studio 2020.3.1)
  • iOS 14.5 (built by Xcode 12.5)
  • Ftp server: vsftpd 3.0.3

Notice

  1. For iOS, connect will always succeed (even if username and password are incorrect), but it does NOT mean the later actions, e.g. ls... download will succeed too! So always check their errorCallback.
  2. Want to upload/download multiple files? The plugin (Android part) just inits one connection and transmits all files via it. If you use asychronous syntax (e.g. foreach) to start multiple upload/download in a short time, it may mess the transfer. Instead, you can try Promise or async to transmit one after one. Refer to index.js for ES6 Promise example.

Thanks

  • The iOS native implementing is based on GoldRaccoon.
  • The Android native implementing is based on ftp4j jar (LGPL).

License

Apache License 2.0. Refer to LICENSE.md for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].