{{define "fshtml"}}
Filesystem
{{if .IsUserPage}}
{{if not .DirPath}}{{if .HasUsersBaseDir}}Leave blank for an appropriate default{{else}}Required for local storage providers. For non-local filesystems it will store temporary files, you can leave blank for an appropriate default{{end}}{{end}}
{{else}}
Required for local storage providers. For non-local filesystems it will store temporary files, you can leave blank for an appropriate default
{{end}}
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 (5)
The buffer size for multipart downloads. Zero means the default (5 MB). Minimum is 5
How many parts are downloaded in parallel. Zero means the default (5)
Max time limit, in seconds, to upload a single part. 0 means no limit
Max time limit, in seconds, to download a single part. 0 means no limit
ACL for uploaded objects. For more info take a look here
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/".
ACL for uploaded objects. For more info refer to the JSON API here
The buffer size for multipart uploads. Zero means the default (5 MB)
How many parts are uploaded in parallel. Zero means the default (5)
The buffer size for multipart downloads. Zero means the default (5 MB)
How many parts are downloaded in parallel. Zero means the default (5)
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}}