cmd/serve: add ftp server - implement #2151

This commit is contained in:
Antoine GIRARD
2018-03-25 17:03:37 +02:00
committed by Nick Craig-Wood
parent a14f0d46d7
commit 4a3efa5d45
6 changed files with 570 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import (
"errors"
"github.com/ncw/rclone/cmd"
"github.com/ncw/rclone/cmd/serve/ftp"
"github.com/ncw/rclone/cmd/serve/http"
"github.com/ncw/rclone/cmd/serve/restic"
"github.com/ncw/rclone/cmd/serve/webdav"
@@ -14,6 +15,7 @@ func init() {
Command.AddCommand(http.Command)
Command.AddCommand(webdav.Command)
Command.AddCommand(restic.Command)
Command.AddCommand(ftp.Command)
cmd.Root.AddCommand(Command)
}