Seems like it's a trivial task but NO. You can't use Samba because of OS compatibility, FTP is too hard to understand and install and other things.

But there is a simple way to do this - use nodejs http-server!
If you're using your PC for development you've already should hav nodejs and npm.

Install the http-server package globally:

npm install -g http-server

Goto the folder which you want to share and type in Terminal:

http-server -o

If you have the npx package installed than you can run file sharing with one command:

npx http-server -o

And by your ip addrees through http protocol files from the folder will be accessible for everybody from the local network http://192.168.1.YOUR_IP:8080 

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
CAPTCHA
 oooo                    ooooo    .oooooo.        oooooooooooo        .o8  
`888 `888' d8P' `Y8b d'""""""d888' "888
888 .oo. .ooooo. 888 888 888 .888P .oooo888
888P"Y88b d88' `88b 888 888 888 d888' d88' `888
888 888 888ooo888 888 888 888 .888P 888 888
888 888 888 .o 888 `88b d88b d888' .P 888 888
o888o o888o `Y8bod8P' o888o `Y8bood8P'Ybd' .8888888888P `Y8bod88P"


Enter the code depicted in ASCII art style.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.