If we need to quickly make folder content available via HTTP, we can use a quick Python command. It’s easier than configuring FTP or Apache.
Navigate to folder you wish to share:
cd /folder/to/share
And execute python command:
For python versions before 3 (2.6, 2.7):
python -m SimpleHTTPServer 8088
(8088 – any free port)
For python3:
python3 -m http.server 8088
Then open in web browser: http://your_server_ip:8088
To cancel sharing just hit Ctrl+c in server console.