tupi

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Tupi serves files within a directory and files can also be uploaded to a directory.

Usage:

tupi [params]

The params are:

 -certfile string
	 Path for the tls certificate file

 -conf string
	 Path for the configuration file

 -default-to-index
	 Returns the index.html instead of listing a directory

 -epath string
	 Path to extract files (default "/e/")

 -host string
	 host to listen. (default "0.0.0.0")

 -htpasswd string
	 Full path for a htpasswd file used for authentication

 -keyfile string
	 Path for the tls key file

 -maxupload int
	 Max size for uploaded files (default 10485760)

 -port int
	 port to listen. (default 8080)

 -root string
	 The directory to serve files from (default ".")

 -timeout int
	 Timeout in seconds for read/write (default 240)

 -upath string
	 Path to upload files (default "/u/")

Only authenticated uploads are allowed. To upload a file one need to use an authentication method. Check the online documentation for details.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL