aiocoap-fileserver(1)

aiocoap-fileserver1

File server for coap a simple file server that serves the contents of a given directory in a read-only fashion via coap. it provides directory listings, and guesses the media type of files it serves. it follows the conventions set out for the kitchen-sink fileserver, optionally with write support, with some caveats:

Positional arguments

path

Root directory of the server

Default: .

Named arguments

--version

show program's version number and exit

-v, --verbose

Be more verbose (repeat to debug)

Default: 0

--register

Register with a Resource directory

Default: False

--etag-length

Possible choices: 0, 1, 2, 3, 4, 5, 6, 7

Control length of ETag, 0-8 (0 disables, for servers where files are never modified)

Default: 8

--write

Allow writes by any user

Default: False

--bind

Host and/or port to bind to (see --help-bind for details)

--credentials

JSON file pointing to credentials for the server's identity/ies.

--tls-server-certificate

TLS certificate (chain) to present to connecting clients (in PEM format)

--tls-server-key

TLS key to load that supports the server certificate

From python3-aiocoap 0.4.14-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.