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.
updog
updog --directory /path/to/directory
updog --port port
updog --password password
updog --ssl