SimpleHTTPServer
It's not about programming language. It's just a tool.
We need to share files in LAN or from computer to cell phones. We can use ftp or file share. but using SimpleHTTPServer to share files is mush more easy.
For example:
There a file video.mp4 in the dir /home/willow/share and I want to share it to my cell phone. All I need to do is:
- go to that dir:
cd /home/willow/share - start the SimpleHTTPServer:
orpython2 -m SimpleHTTPServer 8000python -m SimpleHTTPServer 8000 - find out the ip address of my computer:
or :ip addrifconfig - Visit
http://myipaddress:8000in my cell phone.