Friday, July 10, 2015

Simple way of sharing a file over HTTP in your local network

During you are working in your office, you might need to share some files with your friends temporarily. You don't need to find a pen drive or scp the files by asking passwords...etc. Below describes a simple way of sharing them over HTTP.

1. Open your terminal

2. Go to the directory you want to share the files

3. Execute the below command

python -m SimpleHTTPServer 8000

4. Then access the files using a browser http://[your_ip_address]:8000

Once the file sharing finished, simply exit the console.

No comments:

Post a Comment