2016-06-10 13:36:43 +00:00
# filemanager - a caddy plugin
2016-06-23 07:26:44 +00:00
[](https://travis-ci.org/hacdias/caddy-filemanager)
2016-06-10 13:36:43 +00:00
[](https://forum.caddyserver.com)
[](http://godoc.org/github.com/hacdias/caddy-filemanager)
2016-10-31 21:25:40 +00:00
[](https://goreportcard.com/report/hacdias/caddy-filemanager)
2016-06-10 19:54:19 +00:00
2016-06-23 14:44:52 +00:00
This package is a plugin for Caddy server that provides an online file manager (based on browse middleware) that is able to: rename files, delete files and upload files. Some new features that can be implemented in the future can be seen at [issues ](https://github.com/hacdias/caddy-filemanager/issues ).
2016-06-10 19:54:19 +00:00
2016-08-22 11:24:26 +00:00
### Syntax
2016-06-10 19:54:19 +00:00
```
2016-08-22 11:24:26 +00:00
filemanager url {
show path
2016-10-17 21:07:19 +00:00
webdav [path]
2016-08-22 11:24:26 +00:00
styles filepath
frontmatter type
allow_new [true|false]
allow_edit [true|false]
allow_commands [true|false]
allow_command command
block_command command
2017-01-03 21:40:35 +00:00
before_save command
after_save command
2016-08-22 11:24:26 +00:00
allow [path|dotfiles]
allow_r path regex
block [path|dotfiles]
block_r path regex
2016-06-10 19:54:19 +00:00
}
```
2016-08-10 09:05:09 +00:00
2016-08-22 11:24:26 +00:00
2016-08-10 09:05:09 +00:00
## NOTE FOR DEVELOPERS
You need to run `go generate` on `$GOPATH/src/github.com/hacdias/caddy-filemanager` before building any binary. Otherwise, you will receive an `undefined: Asset` error.