{{define "fshtml"}}
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)
Max time limit, in seconds, to download a single part (5MB). 0 means no limit
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
A buffer size > 0 enables concurrent transfers
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".
{{end}} {{define "fsjs"}} function onFilesystemChanged(val){ // each fsconfig form-group has the 'fsconfig' css class // as well as a 'fsconfig-{name}' class where name is the FilesystemProvider.Name // we're simply hiding all of them and then showing the ones that match the selected vfs provider $('.form-group.fsconfig').hide(); $('.form-group.fsconfig-'+val).show(); } {{end}}