{"id":37748657,"url":"https://github.com/xfally/cordova-plugin-ftp","last_synced_at":"2026-01-16T14:19:31.458Z","repository":{"id":3450297,"uuid":"49542447","full_name":"xfally/cordova-plugin-ftp","owner":"xfally","description":"A cordova plugin to use ftp (client) in web/js for both iOS and Android.","archived":false,"fork":false,"pushed_at":"2023-04-16T23:04:28.000Z","size":233,"stargazers_count":37,"open_issues_count":9,"forks_count":30,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-04T04:18:20.552Z","etag":null,"topics":["android","cordova","ftp","ios","plugin"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xfally.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-01-13T02:04:43.000Z","updated_at":"2025-01-15T22:08:25.000Z","dependencies_parsed_at":"2022-09-18T12:40:16.184Z","dependency_job_id":null,"html_url":"https://github.com/xfally/cordova-plugin-ftp","commit_stats":{"total_commits":73,"total_committers":3,"mean_commits":"24.333333333333332","dds":0.3287671232876712,"last_synced_commit":"4d7ae0e46be742533ac10045e56218ab2b0825dd"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/xfally/cordova-plugin-ftp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfally%2Fcordova-plugin-ftp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfally%2Fcordova-plugin-ftp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfally%2Fcordova-plugin-ftp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfally%2Fcordova-plugin-ftp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xfally","download_url":"https://codeload.github.com/xfally/cordova-plugin-ftp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfally%2Fcordova-plugin-ftp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cordova","ftp","ios","plugin"],"created_at":"2026-01-16T14:19:31.359Z","updated_at":"2026-01-16T14:19:31.453Z","avatar_url":"https://github.com/xfally.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-ftp\n\n## Description\n\nThis cordova plugin is created to use ftp (client) in web/js.\n\nSupport both **iOS** and **Android** platform now.\n\nYou can do the following things:\n\n- List a directory\n- Create a directory\n- Delete a directory (must be empty)\n- Delete a file\n- Download a file (with percent info)\n- Upload a file (with percent info)\n- Cancel upload/download\n- Set SSL/TLS connection (only Android supported)\n- Judge is connected (only Android supported)\n\n## Installation\n\n```sh\n$ cordova plugin add cordova-plugin-ftp\n$ cordova prepare\n```\n\nDependency:\n\n- 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.\n- But for Android, it depends on *com.android.support:support-v4:23.2.0*, which should be added to your platform project by hand.\n\n## Usage\n\nYou can access this plugin by js object `window.cordova.plugin.ftp` or `cordova.plugin.ftp`.\n\nRefer to [test](./test/) (include [ftp4es6.js](./test/www/js/ftp4es6.js) to show ES6 (ES2015) encapsulation) for usage example.\n\nRefer to [ftp.js](./www/ftp.js) for all available APIs and usages.\n\nThis plugin has been tested with:\n\n- Cordova 10.0\n  - cordova-android 9.1.0\n  - cordova-ios 6.2.0\n- Android 10.0 API 29, 11.0 API 30 (built by Android Studio 2020.3.1)\n- iOS 14.5 (built by Xcode 12.5)\n- Ftp server: vsftpd 3.0.3\n\n## Notice\n\n1. 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`.\n2. 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](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) or [async](https://github.com/caolan/async) to transmit one after one. Refer to [index.js](./test/www/js/index.js) for ES6 Promise example.\n\n## Thanks\n\n- The iOS native implementing is based on [GoldRaccoon](https://github.com/albertodebortoli/GoldRaccoon).\n- The Android native implementing is based on [ftp4j](http://www.sauronsoftware.it/projects/ftp4j/) jar (LGPL).\n\n## License\n\nApache License 2.0. Refer to [LICENSE.md](./LICENSE.md) for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfally%2Fcordova-plugin-ftp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxfally%2Fcordova-plugin-ftp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfally%2Fcordova-plugin-ftp/lists"}