HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

updog — A replacement for Python's SimpleHTTPServer. It allows uploading and downloading via HTTP/S, can set

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandsimplehttpserverpythoncliupdogallowsreplacementfor

Problem

How to use the updog command: A replacement for Python's SimpleHTTPServer. It allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use HTTP basic auth. More information: <https://github.com/sc0tfree/updog>.

Solution

updog — A replacement for Python's SimpleHTTPServer. It allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use HTTP basic auth. More information: <https://github.com/sc0tfree/updog>.

Start a HTTP server for the current directory:
updog


Start a HTTP server for a specified directory:
updog --directory /{{path/to/directory}}


Start a HTTP server on a specified port:
updog --port {{port}}


Start a HTTP server with a password (To log in, leave the username blank and enter the password in the password field):
updog --password {{password}}


Enable transport encryption via SSL:
updog --ssl

Code Snippets

Start a HTTP server for the current directory

updog

Start a HTTP server for a specified directory

updog --directory /{{path/to/directory}}

Start a HTTP server on a specified port

updog --port {{port}}

Start a HTTP server with a password (To log in, leave the username blank and enter the password in the password field)

updog --password {{password}}

Enable transport encryption via SSL

updog --ssl

Context

tldr-pages: common/updog

Revisions (0)

No revisions yet.