diff --git a/README.md b/README.md index b5c5d5f..97a4ffa 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,3 @@ -![Version 1.4](http://img.shields.io/badge/version-v1.4-green.svg) -![Python 3.8](http://img.shields.io/badge/python-3.8-blue.svg) -[![MIT License](http://img.shields.io/badge/license-MIT%20License-blue.svg)](https://github.com/sc0tfree/updog/blob/master/LICENSE) -[![sc0tfree Twitter](http://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Follow)](https://twitter.com/sc0tfree) -

updog

@@ -11,15 +6,11 @@ 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. -

- Updog screenshot -

- ## Installation -Install using pip: +Install using pipx: -`pip3 install updog` +`pipx install git+https://github.com/KFDCompiled/updog` ## Usage @@ -60,6 +51,13 @@ enter the password in the password field. `updog --ssl` +**Upload using curl:** +`curl -v -XPOST -F "file=@PATH/NAME;filename=NAME" -F "path=/FULL/PATH/TO/UPDOG/WORKINGDIR" http://IP:PORT/upload` + +if you started updog with `updog -p 80 -d ${PREFIX}/www` then `curl -v -XPOST -F "file=@Public/foo;filename=foo" -F "path=${PREFIX}/www" http://192.168.122.59:80/upload` + + + ## Thanks A special thank you to [Nicholas Smith](http://nixmith.com) for