LinuxCommandLibrary

updog

Simple HTTP file server with upload support

TLDR

Start server

$ updog
copy
Custom port
$ updog -p [8080]
copy
Enable uploads
$ updog --upload
copy
With password
$ updog --password [secret]
copy
Custom directory
$ updog -d [path/to/directory]
copy

SYNOPSIS

updog [-p port] [-d dir] [--upload] [options]

DESCRIPTION

updog is a Python-based HTTP file server designed as a modern replacement for Python's built-in SimpleHTTPServer. It serves files from a directory with a clean web interface that supports browsing, downloading, and optionally uploading files.
The server provides features beyond basic file serving, including password protection for access control, SSL/HTTPS support, and a responsive web interface. File uploads can be enabled with the --upload flag, making it useful for quickly transferring files between machines on a local network.
updog is intended for development and ad-hoc file sharing, not production use. It starts quickly with sensible defaults and can be customized with command-line options for port, directory, authentication, and encryption.

PARAMETERS

-p PORT

Port number.
-d DIR
Directory to serve.
--upload
Allow uploads.
--password PASS
Set password.
--ssl
Enable HTTPS.

CAVEATS

Python required. Development use only. Not for production.

HISTORY

updog was created as a modern Python replacement for SimpleHTTPServer with file upload support.

SEE ALSO

python(1), serve(1), http-server(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community