wsgidav - Man Page

wsgidav – Run a WEBDAV server to share file system folders

Synopsis

wsgidav [-h] [-p PORT] [-H HOST] [-r ROOT_PATH] [--auth {anonymous,nt,pam-login}] [--server {cheroot,ext-wsgiutils,gevent,gunicorn,paste,uvicorn,wsgiref}] [--ssl-adapter {builtin,pyopenssl}] [-v | -q] [-c CONFIG_FILE | --no-config] [--browse] [-V]

Options

-h--help

Show a help message and exit

-p PORT--port PORT

port to serve on (default: 8080)

-H HOST--host HOST

host to serve from (default: localhost) localhost is only accessible from the local computer. Use 0.0.0.0 to make your application public

-r ROOT_PATH--root ROOT_PATH

path to a file system folder to publish for RW as share /.

--auth {anonymous,nt,pam-login}

quick configuration of a domain controller when no config file is used

--server {cheroot,ext-wsgiutils,gevent,gunicorn,paste,uvicorn,wsgiref}

type of pre-installed WSGI server to use (default: cheroot).

--ssl-adapter {builtin,pyopenssl}

used by cheroot server if SSL certificates are configured (default: builtin).

-v--verbose

increment verbosity by one (default: 3, range: 0..5)

-q--quiet

decrement verbosity by one

-c CONFIG_FILE--config CONFIG_FILE

configuration file (default: (wsgidav.yaml, wsgidav.json) in current directory)

--no-config

do not try to load default (wsgidav.yaml, wsgidav.json)

--browse

open browser on start

-V--version

print version info and exit (may be combined with --verbose)

Examples

Share filesystem folder /temp for anonymous access (no config file used):

wsgidav --port=80 --host=0.0.0.0 --root=/temp --auth=anonymous

Run using a specific configuration file:

wsgidav --port=80 --host=0.0.0.0 --config=~/my_wsgidav.yaml

If no config file is specified, the application will look for a file named wsgidav.yaml in the current directory. See http://wsgidav.readthedocs.io/en/latest/run-configure.html for some explanation of the configuration file format.

See Also

https://github.com/mar10/wsgidav

Info

March 2024