I’m looking for an easy way to upload files from my Android smartphone to my home server. is there a - ideally dockerized - solution for that? Some simple web GUI where I can click on “Upload” and the files will be saved to a certain directory on my home server?

EDIT: I should’ve added that I want to do this remotely and not in my local network. I want to be able to send files from my Android smartphone from anywhere via the internet to my home server. That’s why I thought about a services hosted on my server, which frontend I could access through my smartphone. But I might’ve answered my question already with the following: https://github.com/zer0tonin/Mikochi

EDIT #2: Thanks guys, I ended up creating my own Docker container running nextcloudcmd inspired by this: https://github.com/juanitomint/nextcloud-client-docker But I built the container from scratch and it’s very minimalistic. I can publish it on my Gitlab when it’s somewhat ready. Here’s a little preview.

Dockerfile

FROM alpine:latest
RUN apk update && apk add nextcloud-client
COPY nc.sh .
RUN chmod +x ./nc.sh
VOLUME /data
CMD ./nc.sh

nc. sh (How can I prevent automatic hyperlinking?)

#!/bin/sh
while true
do
        nextcloudcmd /data https://${username}:${passwort}@${nextcloud-domain}
        sleep 300
done
    • @[email protected]
      link
      fedilink
      English
      38 months ago

      Material Files + SFTP is a winning combination. You probably already have SSH configured and it is quite secure.

    • @WhyAUsername_1
      link
      English
      38 months ago

      For remote connection, you can use Tailscale along with Material Files and SMB/SFTP.

      • @anamethatisnt
        link
        English
        18 months ago

        I honestly prefer selfhosting my home vpn using Wireguard or OpenVPN.

        • @WhyAUsername_1
          link
          English
          38 months ago

          Yes. But that would assume that OP is not behind CGNAT. Also, even with Static IP, if I had to just do file transfer over SSH, I would use Tailscale over selfhosting wireguard. But that’s my personal take on this.

          • @anamethatisnt
            link
            English
            28 months ago

            Yeah getting stuck behind CGNAT IPv4 and no IPv6 would break setting up your own vpn server. That would cause me too look for another internet provider.
            I only got 100mbps at home so I’m still running openvpn as I don’t gain anything worthwhile from wireguard.

    • archomrade [he/him]
      link
      fedilink
      English
      18 months ago

      I highly recommend this one.

      If all you’re looking for is a way to send files from your phone to your server, this is the simplest way to do it.

      Share your server volume as a SMB, mount to phone via Material Files.

    • @[email protected]
      link
      fedilink
      English
      08 months ago

      There is also FX which can do this too, additionally you can browse/download/upload files to/from the phone locally from PC through browser (the app opens up a web server).