All Projects → goftp → Server

goftp / Server

Licence: mit
A FTP server framework written by Golang, moved to https://gitea.com/goftp/server

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Server

Console
The Hoa\Console library.
Stars: ✭ 354 (-5.09%)
Mutual labels:  library
Tinyconstraints
Nothing but sugar.
Stars: ✭ 3,721 (+897.59%)
Mutual labels:  library
Gb
gb single-file public domain libraries for C & C++
Stars: ✭ 363 (-2.68%)
Mutual labels:  library
Firestoregoogleappsscript
A Google Apps Script library for accessing Google Cloud Firestore.
Stars: ✭ 352 (-5.63%)
Mutual labels:  library
Recnn
Reinforced Recommendation toolkit built around pytorch 1.7
Stars: ✭ 362 (-2.95%)
Mutual labels:  library
C Cpp Notes
Notes about modern C++, C++11, C++14 and C++17, Boost Libraries, ABI, foreign function interface and reference cards.
Stars: ✭ 363 (-2.68%)
Mutual labels:  library
Aestheticdialogs
📱 An Android Library for 💫fluid, 😍beautiful, 🎨custom Dialogs.
Stars: ✭ 352 (-5.63%)
Mutual labels:  library
Agda Stdlib
The Agda standard library
Stars: ✭ 370 (-0.8%)
Mutual labels:  library
Pmjson
Pure Swift JSON encoding/decoding library
Stars: ✭ 362 (-2.95%)
Mutual labels:  library
Custom Navigation Drawer
Custom Navigation Drawer Library for Android
Stars: ✭ 364 (-2.41%)
Mutual labels:  library
Python
Official Python client library for kubernetes
Stars: ✭ 4,352 (+1066.76%)
Mutual labels:  library
Material Calendar View
📅 Material Design Calendar compatible with API 11+
Stars: ✭ 360 (-3.49%)
Mutual labels:  library
Libevhtp
Create extremely-fast and secure embedded HTTP servers with ease.
Stars: ✭ 363 (-2.68%)
Mutual labels:  library
Awesome Android Ui
😎 A curated list of awesome Android UI/UX libraries
Stars: ✭ 353 (-5.36%)
Mutual labels:  library
Go Libtor
Self-contained Tor from Go
Stars: ✭ 368 (-1.34%)
Mutual labels:  library
Distortos
object-oriented C++ RTOS for microcontrollers
Stars: ✭ 354 (-5.09%)
Mutual labels:  library
Time.dart
⏰ Type-safe DateTime and Duration calculations, powered by extensions.
Stars: ✭ 363 (-2.68%)
Mutual labels:  library
Meza
A Python toolkit for processing tabular data
Stars: ✭ 374 (+0.27%)
Mutual labels:  library
Math
The Hoa\Math library.
Stars: ✭ 370 (-0.8%)
Mutual labels:  library
Units
A compile-time enabled Modern C++ library that provides compile-time dimensional analysis and unit/quantity manipulation.
Stars: ✭ 365 (-2.14%)
Mutual labels:  library

server

Moved to https://gitea.com/goftp/server

CircleCI codecov

A FTP server framework forked from github.com/yob/graval and changed a lot.

Full documentation for the package is available on godoc

Version

v0.2.3

Installation

go get github.com/goftp/server

Usage

To boot a FTP server you will need to provide a driver that speaks to your persistence layer - the required driver contract is in the documentation.

Look at the file driver to see an example of how to build a backend.

There is a sample ftp server as a demo. You can build it with this command:

go install github.com/goftp/server/exampleftpd

Then run it if you have add $GOPATH to your $PATH:

exampleftpd -root /tmp

And finally, connect to the server with any FTP client and the following details:

host: 127.0.0.1
port: 2121
username: admin
password: 123456

This uses the file driver mentioned above to serve files.

Contributors

see https://github.com/goftp/server/graphs/contributors

Warning

FTP is an incredibly insecure protocol. Be careful about forcing users to authenticate with an username or password that are important.

License

This library is distributed under the terms of the MIT License. See the included file for more detail.

Contributing

All suggestions and patches welcome, preferably via a git repository I can pull from. If this library proves useful to you, please let me know.

Further Reading

There are a range of RFCs that together specify the FTP protocol. In chronological order, the more useful ones are:

For an english summary that's somewhat more legible than the RFCs, and provides some commentary on what features are actually useful or relevant 24 years after RFC959 was published:

For a history lesson, check out Appendix III of RCF959. It lists the preceding (obsolete) RFC documents that relate to file transfers, including the ye old RFC114 from 1971, "A File Transfer Protocol"

This library is heavily based on em-ftpd, an FTPd framework with similar design goals within the ruby and EventMachine ecosystems. It worked well enough, but you know, callbacks and event loops make me something something.

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].