sc0tfree / updog

Updog is 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.
MIT License
2.96k stars 311 forks source link

Accept bespoke certificates, hide full path and set upload mode #67

Open felmoltor opened 2 weeks ago

felmoltor commented 2 weeks ago

I modified the arguments and a bit the calls to werkzeug to accept bespoke certificates, such as LetsEncrypt. Now the certificate and private key files can be specified with the argument -C/--cert. E.g.

updog --ssl -C cert.pem key.pem 

Additionally, in this merge I've added the argument --fullpath, which will show the full path the the folder of you wish. Else, the default behaviour is to show only the relative path.

A new flag --upload [only, enabled, disabled] has also been added. The three options are self explanatory, but:

felmoltor commented 2 weeks ago

Added also the option to hide the full path and show only the relative path to the folder it is being uploaded to as suggested in https://github.com/sc0tfree/updog/issues/36