How-To Geek
Serve Up Files Easily With the Python SimpleHTTPServer
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:
http://ipaddress:8080/
And you’ll be able to download any of the files from the directory.
Got Feedback? Join the discussion at discuss.howtogeek.com
Comments (1)
Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
- Published 07/16/10




Uau, awesome advice!
Many thanks!