Serve Up Files Easily With the Python SimpleHTTPServer

By Lowell Heddings on July 16th, 2010

Have you ever needed to quickly share a folder with another machine? Rather than deal with samba, nfs, or apache, you can just run a simple command instead.

python -m SimpleHTTPServer 8080

You can then connect from another machine on the 8080 port like this:


And you’ll be able to download any of the files from the directory.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 07/16/10
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!