Sunday, November 8, 2009

Simplest Http Server

When you need a quick file share use this python module that runs a simple web server with directory listing.
  1. Open Terminal
  2. Go to the directory that contains files/folders.
  3. Type python -m SimpleHTTPServer
  4. This runs a simple http server in port 8000
  5. Open browser in remote computer
  6. Open http://yourip:8000

1 comment:

  1. great! love it. aba ta college LAN ma file sharing is fun!
    thanks :)

    ReplyDelete

Comments are moderated. No spam please.