Thursday, April 8, 2010

Do you wanna share something in the local area network quickly..without wasting your time with apache or any is the technique for that..

First of all, open a terminal and move into the folder you wanna share.Say i want to share /home/xxx/Downloads folder..So open a terminal and then cd /home/xxx/Downloads.

Then type this command

python -c "import SimpleHTTPServer; SimpleHTTPServer.test();"

Then your folder can be accessed through web browser by typing http://your_ip:8000/.