Tuesday, March 12, 2013

Sharing Files Over Http

If you want to share out a directory over HTTP, and you have python installed on your machine, run this at the command line to do so:

python -m SimpleHTTPServer 8080

Anyone on your network can now navigate to http://YOURHOST_OR_IP:8080/.  Obviously, if you want to share this out over the internet, you can setup port forwarding on your router and have them hit your public IP.

No comments: