A FTP server based on gitea.com/goftp/server.
Full documentation for the package is available on godoc
- Support file system as storage
- Support minio as storage
- Support qiniu as storage
- Support web management UI
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
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.