Simple HTTP Server With Upload written in Python.
This script works with version 3.6.
Earlier versions will cause runtime errors.
This is a modified version from the original source.
https://gist.github.com/UniIsland/3346170
I have added icons for directory and videos.
Pictures (BMP, GIF, JPG, PNG) will display thumbnails.
Directory listing is in a table format with file sizes and creation dates.
This script also supports IP Address & Port binding.
Change 'SimpleHTTPServerWithUpload.sh' to suit your requirements.
curl -X POST -F file=@<path-to-file> http://<host-ip>:8000