ftpd/README.md
Lunny Xiao 67c498d8bf
All checks were successful
checks / check and test (push) Successful in 1m22s
Fix README
2023-05-09 14:06:04 +08:00

1.1 KiB

ftpd

中文

A FTP server based on gitea.com/goftp/server.

Full documentation for the package is available on godoc

Features

  • Support file system as storage
  • Support minio as storage
  • Support qiniu as storage
  • Support web management UI

Installation

From binary releases

Download the binaries from https://gitea.com/goftp/ftpd/releases.

You can also build the binary yourself. After you clone the repository,

go generate ./...
go build -tags=bindata -mod=vendor

From Source

go get goftp.io/ftpd

Then run it:

$GOPATH/bin/ftpd

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

More features, you can copy config.ini to the ftpd directory and modify it.

And one more, you can ignore the config.ini file and use envs. The env name will be ToUpper(<section_name>_<item_name>), i.e.

SERVER_PORT=2222 ./ftpd

Will run a ftpd with ftp port 2222 whatever config.ini has or not.