Simplest method to host files, but only supports file downloads.
# Simple HTTP Web Server on default port 8000 serving the current directory
python-mhttp.server
# Simple HTTP Web Server on port 80 serving a specified directory
python-mhttp.server80--directory<target_directory>
Custom Flask-based Python server that provides support for file downloads AND uploads, as well as support for encrypted communication over HTTPS using self-signed certificates.
Note: usage of HTTPS is more advanced and requires a self-signed certificate check bypass.
# PoorMansArmory web server on default port 80 with default directory './uploads'
python./pma_server.py
# PoorMansArmory web server on custom port with specified directory
python./pma_server.py--port8080--directory/usr/share/windows-binaries
# PoorMansArmory web server using HTTPS on specified port (more advanced)
python./pma_server.py--port443--ssl