{"id":21658184,"url":"https://github.com/goftp/server","last_synced_at":"2025-07-17T20:32:52.999Z","repository":{"id":31377373,"uuid":"34940406","full_name":"goftp/server","owner":"goftp","description":"A FTP server framework written by Golang, moved to https://gitea.com/goftp/server","archived":true,"fork":false,"pushed_at":"2020-07-08T15:43:37.000Z","size":180,"stargazers_count":425,"open_issues_count":5,"forks_count":133,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-06-18T12:41:22.979Z","etag":null,"topics":["ftp-server","golang","library"],"latest_commit_sha":null,"homepage":"https://goftp.io","language":"Go","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/goftp.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":"2015-05-02T08:16:18.000Z","updated_at":"2024-06-18T00:59:18.000Z","dependencies_parsed_at":"2022-07-28T08:49:00.000Z","dependency_job_id":null,"html_url":"https://github.com/goftp/server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goftp%2Fserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goftp%2Fserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goftp%2Fserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goftp%2Fserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goftp","download_url":"https://codeload.github.com/goftp/server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226304440,"owners_count":17603594,"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-server","golang","library"],"created_at":"2024-11-25T09:28:50.811Z","updated_at":"2024-11-25T09:28:53.498Z","avatar_url":"https://github.com/goftp.png","language":"Go","readme":"# server\n\n**Moved to https://gitea.com/goftp/server**\n\n[![CircleCI](https://circleci.com/gh/goftp/server.svg?style=shield)](https://circleci.com/gh/goftp/server)\n[![](https://goreportcard.com/badge/github.com/goftp/server)](https://goreportcard.com/report/github.com/goftp/server)\n[![codecov](https://codecov.io/gh/goftp/server/branch/master/graph/badge.svg)](https://codecov.io/gh/goftp/server)\n\nA FTP server framework forked from [github.com/yob/graval](http://github.com/yob/graval) and changed a lot.\n\nFull documentation for the package is available on [godoc](http://godoc.org/github.com/goftp/server)\n\n## Version\n\n    v0.2.3\n\n## Installation\n\n    go get github.com/goftp/server\n\n## Usage\n\nTo boot a FTP server you will need to provide a driver that speaks to\nyour persistence layer - the required driver contract is in [the\ndocumentation](http://godoc.org/github.com/goftp/server).\n\nLook at the [file driver](https://github.com/goftp/file-driver) to see\nan example of how to build a backend.\n\nThere is a [sample ftp server](/exampleftpd) as a demo. You can build it with this\ncommand:\n\n    go install github.com/goftp/server/exampleftpd\n\nThen run it if you have add $GOPATH to your $PATH:\n\n    exampleftpd -root /tmp\n\nAnd finally, connect to the server with any FTP client and the following\ndetails:\n\n    host: 127.0.0.1\n    port: 2121\n    username: admin\n    password: 123456\n\nThis uses the file driver mentioned above to serve files.\n\n## Contributors\n\nsee [https://github.com/goftp/server/graphs/contributors](https://github.com/goftp/server/graphs/contributors)\n\n## Warning\n\nFTP is an incredibly insecure protocol. Be careful about forcing users to authenticate\nwith an username or password that are important.\n\n## License\n\nThis library is distributed under the terms of the MIT License. See the included file for\nmore detail.\n\n## Contributing\n\nAll suggestions and patches welcome, preferably via a git repository I can pull from.\nIf this library proves useful to you, please let me know.\n\n## Further Reading\n\nThere are a range of RFCs that together specify the FTP protocol. In chronological\norder, the more useful ones are:\n\n* [http://tools.ietf.org/rfc/rfc959.txt](http://tools.ietf.org/rfc/rfc959.txt)\n* [http://tools.ietf.org/rfc/rfc1123.txt](http://tools.ietf.org/rfc/rfc1123.txt)\n* [http://tools.ietf.org/rfc/rfc2228.txt](http://tools.ietf.org/rfc/rfc2228.txt)\n* [http://tools.ietf.org/rfc/rfc2389.txt](http://tools.ietf.org/rfc/rfc2389.txt)\n* [http://tools.ietf.org/rfc/rfc2428.txt](http://tools.ietf.org/rfc/rfc2428.txt)\n* [http://tools.ietf.org/rfc/rfc3659.txt](http://tools.ietf.org/rfc/rfc3659.txt)\n* [http://tools.ietf.org/rfc/rfc4217.txt](http://tools.ietf.org/rfc/rfc4217.txt)\n\nFor an english summary that's somewhat more legible than the RFCs, and provides\nsome commentary on what features are actually useful or relevant 24 years after\nRFC959 was published:\n\n* [http://cr.yp.to/ftp.html](http://cr.yp.to/ftp.html)\n\nFor a history lesson, check out Appendix III of RCF959. It lists the preceding\n(obsolete) RFC documents that relate to file transfers, including the ye old\nRFC114 from 1971, \"A File Transfer Protocol\"\n\nThis library is heavily based on [em-ftpd](https://github.com/yob/em-ftpd), an FTPd\nframework with similar design goals within the ruby and EventMachine ecosystems. It\nworked well enough, but you know, callbacks and event loops make me something\nsomething.\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoftp%2Fserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoftp%2Fserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoftp%2Fserver/lists"}