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 


Вміст цього поля є приватним і не буде доступний широкому загалу.
  • Не дозволено жодних HTML теґів.
 dP    dP  d8888b.  dP     dP  888888ba    888888ba  
Y8. .8P `88 88 88 88 `8b 88 `8b
Y8aa8P .aaadP' 88 88 88 88 a88aaaa8P'
88 88' 88 88 88 88 88
88 88. Y8. .8P 88 88 88
dP Y88888P `Y88888P' dP dP dP

Уведіть код, зображений у стилі Ascii-Арт.