{{template "base" .}} {{define "title"}}{{.Title}}{{end}} {{define "extra_css"}} {{end}} {{define "page_body"}}
{{.Title}}
{{if .Error}}
{{.Error}}
{{end}} {{if eq .Mode 3}}
Generate a data provider independent JSON file to create new users or update existing ones.
The following placeholders are supported:

  • %username% will be replaced with the specified username
  • %password% will be replaced with the specified password
The generated users file can be imported from the "Maintenance" section. {{if .User.Username}}
Please note that no credentials were copied from user "{{.User.Username}}", you have to set them explicitly. {{end}}
{{end}}
{{if eq .Mode 3}}
Specify the username and at least one of the password and public key. Each line must be username::password::public-key
{{else}}
{{end}}
{{if ne .Mode 3}}
One public key or SSH user certificate per line
{{end}}
One exposed virtual directory path per line as /dir::perms, for example /somedir::list,download
One mapping per line as vpath::folder-name::[quota_files]::[quota_size(bytes)], for example /vdir::afolder or /vdir::afolder::10::104857600. Quota -1 means included inside user quota. Ignored for non local filesystems
0 means no limit
0 means no limit
0 means no limit
0 means no limit
0 means no limit
0 means no limit
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"
One exposed virtual directory per line as /dir::pattern1,pattern2, for example /subdir::*.zip,*.rar
One exposed virtual directory per line as /dir::pattern1,pattern2, for example /somedir::*.jpg,*.png
One exposed virtual directory per line as /dir::extension1,extension2, for example /subdir::.zip,.rar. Deprecated, use file patterns
One exposed virtual directory per line as /dir::extension1,extension2, for example /somedir::.jpg,.png. Deprecated, use file patterns
The buffer size for multipart uploads. Zero means the default (5 MB). Minimum is 5
How many parts are uploaded in parallel. Zero means the default (2)
Similar to a chroot for local filesystem. Cannot start with "/". Example: "somedir/subdir/".
Add or update credentials from a JSON file
Similar to a chroot for local filesystem. Cannot start with "/". Example: "somedir/subdir/".
The buffer size for multipart uploads. Zero means the default (4 MB)
How many parts are uploaded in parallel. Zero means the default (2)
Similar to a chroot for local filesystem. Cannot start with "/". Example: "somedir/subdir/".
Endpoint as host:port, port is always required
SHA256 fingerprints to validate when connecting to the external SFTP server, one per line. If empty any host key will be accepted: this is a security risk!
Similar to a chroot for local filesystem. Example: "/somedir/subdir".
Free form text field
{{if eq .Mode 2}}
This way you force the user to login again, if connected, and so to use the new configuration
{{end}}
{{end}} {{define "extra_js"}} {{end}}