Wednesday, July 26, 2023

"Simple" Http Server TheWaWar or HFS

**If you need to grab folders and files use Xlight FTP Server and WinSCP or Filezilla client or Windows File Explorer ftp://(ip of server & port).  Windows sharing works as well most of the time for two Windows PCs.

Use Windows share if it works but . . .

I can't remember how I found this WaWar thing and I like it but only for files not folders.

go here and download
Choose this one x86_64-pc-windows-msvc-simple-http-server.exe
Copy the file and rename wawar.exe or something you like.

Drop the file in the folder you want to share.
Wawar.exe (or whatever name you use) also needs to be in the shared folder.

Open CMD in the folder you want to share that also has the Wawar.exe in it.
Remember in File Explorer just type cmd in the address box.

CMD to start and set IP and/or change port (default in port 8000)
x86_64-pc-windows-msvc-simple-http-server.exe --ip 192.168.1.15
(Use the IP of the PC on which you are running the server)
Or if you changed the name wawar.exe --ip 192.168.1.15
defaults to port 8000
if want to change port -p 1000 or whatever

Maybe make a .bat file to run it.

open
http://192.168.1.15:8000
(Don't forget to add the port!!!)
Right click on the file you want to download and "save link as" or just drag and drop.

If you need a video

HFS does the same thing and might be easier. Just drag and drop the shares into HFS.

Curl, Wget, Winget & Powershell Install or Download Commands

After the mess I made in previous posts this summary might be useful.     Thanks PatchMyPC, the great and powerful program downloader and up...