mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
add rsync support ...
and better document quota management issues for system commands. rsync and git are not enabled in the default config so don't install them in sample Dockerfiles, simply add a comment to facilitate their installation if needed Fixes #44
This commit is contained in:
@@ -63,10 +63,10 @@ var (
|
||||
uploadMode int
|
||||
setstatMode int
|
||||
supportedSSHCommands = []string{"scp", "md5sum", "sha1sum", "sha256sum", "sha384sum", "sha512sum", "cd", "pwd",
|
||||
"git-receive-pack", "git-upload-pack", "git-upload-archive"}
|
||||
"git-receive-pack", "git-upload-pack", "git-upload-archive", "rsync"}
|
||||
defaultSSHCommands = []string{"md5sum", "sha1sum", "cd", "pwd"}
|
||||
sshHashCommands = []string{"md5sum", "sha1sum", "sha256sum", "sha384sum", "sha512sum"}
|
||||
gitCommands = []string{"git-receive-pack", "git-upload-pack", "git-upload-archive"}
|
||||
systemCommands = []string{"git-receive-pack", "git-upload-pack", "git-upload-archive", "rsync"}
|
||||
)
|
||||
|
||||
type connectionTransfer struct {
|
||||
|
||||
Reference in New Issue
Block a user