2016-06-10 14:36:43 +01:00
# filemanager - a caddy plugin
2016-06-23 08:26:44 +01:00
[](https://travis-ci.org/hacdias/caddy-filemanager)
2016-06-10 14:36:43 +01: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 20:54:19 +01:00
2016-06-23 15:44:52 +01: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 20:54:19 +01:00
2016-08-22 12:24:26 +01:00
### Syntax
2016-06-10 20:54:19 +01:00
```
2016-08-22 12:24:26 +01:00
filemanager url {
show path
2016-10-17 22:07:19 +01:00
webdav [path]
2016-08-22 12:24:26 +01:00
styles filepath
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 12:24:26 +01:00
allow [path|dotfiles]
allow_r path regex
block [path|dotfiles]
block_r path regex
2016-06-10 20:54:19 +01:00
}
```
2016-08-10 10:05:09 +01:00
2016-08-22 12:24:26 +01:00
2016-08-10 10:05:09 +01: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.