{"id":15800654,"url":"https://github.com/theoomoregbee/skipper-ftp","last_synced_at":"2025-03-31T21:16:47.575Z","repository":{"id":57140607,"uuid":"105907651","full_name":"theoomoregbee/skipper-ftp","owner":"theoomoregbee","description":"Uploading files directly to FTP server using skipper and node-ftp","archived":false,"fork":false,"pushed_at":"2017-10-11T04:07:37.000Z","size":190,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-30T04:41:52.409Z","etag":null,"topics":["ftp","sails","skipper","upload"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theoomoregbee.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-05T15:33:13.000Z","updated_at":"2019-11-04T08:14:20.000Z","dependencies_parsed_at":"2022-09-05T01:31:09.182Z","dependency_job_id":null,"html_url":"https://github.com/theoomoregbee/skipper-ftp","commit_stats":null,"previous_names":["theo4u/skipper-ftp"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fskipper-ftp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fskipper-ftp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fskipper-ftp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fskipper-ftp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theoomoregbee","download_url":"https://codeload.github.com/theoomoregbee/skipper-ftp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246540526,"owners_count":20793930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ftp","sails","skipper","upload"],"created_at":"2024-10-05T01:04:28.342Z","updated_at":"2025-03-31T21:16:47.556Z","avatar_url":"https://github.com/theoomoregbee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [\u003cimg title=\"skipper-ftp - FTP filesystem adapter for Skipper\" src=\"http://i.imgur.com/P6gptnI.png\" width=\"200px\" alt=\"skipper emblem - face of a ship's captain\"/\u003e](https://github.com/willhuang85/skipper-gridfs) Skipper FTP Adapter\n[![npm](https://img.shields.io/npm/v/skipper-ftp.svg)](https://www.npmjs.com/package/skipper-ftp)\n[![npm](https://img.shields.io/npm/l/express.svg)]()\n\nThis is used to upload files directly to FTP server using [skipper](https://github.com/balderdashy/skipper) and [node-ftp](https://github.com/mscdex/node-ftp)\n\n\n\n## Installation\n\n```\n$ npm install skipper-ftp --save\n```\n\nAlso make sure you have skipper [installed as your body parser](http://beta.sailsjs.org/#/documentation/concepts/Middleware?q=adding-or-overriding-http-middleware).\n\n\u003e Skipper is installed by default in [Sails](https://github.com/balderdashy/sails) v0.10.\n\n\n## Usage\n\n```javascript\nreq.file('file')\n.upload({\n  adapter: require('skipper-ftp'),\n  host: 'ftp.localhost',\n  port: 21,\n  username:'root',\n  password:'root',\n  path:'/'\n}, function whenDone(err, uploadedFiles) {\n  if (err) return res.negotiate(err);\n  else return res.ok({\n    files: uploadedFiles\n  });\n});\n```\n\n| Option        | Type       | Details |\n|-----------    |:----------:|---------|\n| `host`         | ((string)) | An optional parameter of the host or domain/IP. Default value: `localhost`|\n| `port` | ((number)) | An optional parameter for port. Default value :`21`|\n| `path` | ((string)) | An optional parameter if you wish to save the file in a particular path in your file server. Default value :`/`|\n| `user` | ((string)) | An optional parameter for authentication. Default value :`root`|\n| `password` | ((string)) | An optional parameter for authentication. Default value :`root`|\n\ncheck  [node-ftp](https://github.com/mscdex/node-ftp#methods) options for more\n\n## UploadedFiles\nThe meta data is returned along with **`extra`** which may contain `error` field. The `error` is going to return and error encountered while uploading the file to your FTP server\n\n## Testing\n\n* Clone this repository\n\n* Install all development dependencies\n\n```sh\n$ npm install\n```\n* Then run test\n\n```sh\n$ npm test\n```\n\n## Contribute\n\nFork this repo and push in your ideas.\nDo not forget to follow [skipper-adapter-test](https://github.com/balderdashy/skipper-adapter-tests) standards\n\n\n\n## License\n\nMIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheoomoregbee%2Fskipper-ftp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheoomoregbee%2Fskipper-ftp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheoomoregbee%2Fskipper-ftp/lists"}