serve/ftp: use refactored goftp.io/server library for binary shrink

This uses the refactored goftp library which doesn't include the minio
driver. This reduces the binary size by 1.5MB

See: https://gitea.com/goftp/server/pulls/120
This commit is contained in:
Nick Craig-Wood 2020-07-07 16:24:30 +01:00
parent 990a33b393
commit db56b1bfec
4 changed files with 14 additions and 27 deletions

View file

@ -16,7 +16,7 @@ import (
"github.com/rclone/rclone/fs/config/configmap"
"github.com/rclone/rclone/fs/config/obscure"
"github.com/stretchr/testify/assert"
ftp "goftp.io/server"
ftp "goftp.io/server/core"
)
const (