Python HTTP Server

Quick Python HTTP Server

Python HTTP Server

python http server

If you need a quick and easy webserver to copy files between servers, or from your server to your workstation all you need is Python, which is part of YUM and is on almost every redhat based linux server. Simple goto the directory you want to share, and a single command in the shell will start up a webserver that you can use to get your files copied over. Simple point your web browser to the server and the port number you choose and you can browse through the files and folders and download anything you need

Note it depends on your version of python on which variation of the command you need..

python -m SimpleHTTPServer 8080
python3 -m http.server 8080

Python Http Example