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.
              ooooo     ooo    oooooooo  oooooooooo.             oooooooooo.  
`888' `8' dP""""""" `888' `Y8b `888' `Y8b
oooo ooo 888 8 d88888b. 888 888 oooo d8b 888 888
`88b..8P' 888 8 `Y88b 888oooo888' `888""8P 888oooo888'
Y888' 888 8 ]88 888 `88b 888 888 `88b
.o8"'88b `88. .8' o. .88P 888 .88P 888 888 .88P
o88' 888o `YbodP' `8bd88P' o888bood8P' d888b o888bood8P'


Enter the code depicted in ASCII art style.