This is one of the most easy ways to share files among computers. I got to know about this from a friend. This can be used in a private network as well as in a public network.
Go to directory where you want to share files and use following command.
python -m SimpleHTTPServer
![]() |
Output |
In the output you can find the port number. Here you can see the port as 8000. This is the default port.
If you want to use a different port, use following command.
python -m SimpleHTTPServer 8010
To access from another computer, we only need the IP address and the port of the shared computer. Using the browser you can access the files as below.
![]() |
Browser Output |