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

Homelab

371 readers
3 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.

top 6 comments
sorted by: hot top controversial new old
[–] foobarney@alien.top 1 points 9 months ago (1 children)

For downloading...literally every web server. Just point it at the folder and turn directory listings on.

For uploading, too, probably something WebDAV flavored.

[–] androidusr@alien.top 1 points 9 months ago

oh, I didn't realize that about webservers. I don't know much about them, never done web dev. So like a wordpress container would do the trick?

[–] MentalDV8@alien.top 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

[–] GuyNoIRQ@infosec.pub 1 points 9 months ago
[–] TimmyMTX@alien.top 1 points 9 months ago (1 children)

Filebrowser is free/open source and does exactly that

https://filebrowser.org

[–] SirLagz@alien.top 1 points 9 months ago

OMV extension pretty much just runs this in a container lol