feat: add sftp driver (close #1466)

This commit is contained in:
Noah Hsu
2022-09-04 12:43:52 +08:00
parent 8fd56ef9dd
commit ffba5e0aec
9 changed files with 248 additions and 17 deletions

View File

@ -14,13 +14,9 @@ type Addition struct {
var config = driver.Config{
Name: "FTP",
LocalSort: false,
OnlyLocal: false,
OnlyProxy: false,
NoCache: false,
NoUpload: false,
NeedMs: false,
DefaultRoot: "root, / or other",
LocalSort: true,
OnlyLocal: true,
DefaultRoot: "/",
}
func New() driver.Driver {