this post was submitted on 28 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
9 users here now

Rules

founded 11 months ago
MODERATORS
 

I'm looking for a LAN application that lets me put files in a SMB folder and provides a web interface (URL) to download these files. I only need this for LAN use, so I can pretty much ignore all security/login/encryption/https.

Does something like that exist?

I have Open Media Vault, but that doesn't seem to be one of its services. It only has FTP, SMB, DLNA.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 9 months ago

So if we really want to keep this simple:

Windows w/Python installed: py -m http.server

Linux/BSD/MacOS/Unix: python3 -m http.server

And if you're dealing with Windows, you can install python many ways so it's really not that difficult anymore.

Now mind you this covers downloading from a computer meaning another client computer let's say it's a laptop from your Windows/Linux desktop or server.

To upload files however, we have to get a little bit more creative. Let's say that you have Windows as your operating system or that you know how to use WINE on Linux.

This program is a Windows executable that as one simple download file gives you a full web server with upload and download meaning it will accept the post request correctly and let you transfer files. Give it a shot.

HFS (HTTP File Server) https://www.rejetto.com/hfs/?f=intro