Quick and Dirty HTTP Server to Transfer Files

If you need to stand up a quick HTTP Server to enable someone on your LAN to transfer some files use the following command in the directory that you want to ‘share’:

python -m SimpleHTTPServer

The default port is 8000, but you can run it as follows to specify a port

python -m SimpleHTTPServer 8080

Leave a Reply