Tuesday, April 24, 2012

Share your local folder over HTTP - The easist way

Here is a one liner to share your local folder in a LAN environment :
  • Install Python
  • Open cmd prompt or terminal, and navigate to your desired directory. Type the command :
  • python -m SimpleHTTPServer
  • Open http://localhost:8000 on your browser.
To use a different port number (say 17740) :
  • python -m SimpleHTTPServer 17740

No comments: