On occasion I find myself needing to send a file at least a few gigabytes in size to a friend across our slow ISPs but haven’t found a satisfying solution. I usually end up creating a private torrent with the announce address of my own IP. Even though it’s slow - it basically never reaches my max upload speed for some reason, it is at least resilient if there are ever any network glitches.

Does anyone else face this same challenge?

EDIT: Thank you for the awesome suggestions! I have some homework to do on these

  • Retro_unlimited@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    39 minutes ago

    Before I moved I used to use my web server.

    My Domain . Com / files . Zip And I would set a password on the zip. After they download it, they tell me and I remove the file.

  • Typewar@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    30 minutes ago

    Me and my friend used netcat to transfer 30 GB of files put into a zip. Very fun, would not recommend

  • Darkassassin07@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    FileBrowser

    Create share links allowing anyone with the link (+ optional password) to browse and download individual files, or whole folder contents.

    If someone needs to send me a file, I can create a user for them in a few seconds; so they can upload to that as well.

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 hours ago

    Friends I know IRL: Thumbdrives.

    Friends I only know via the Internet: Torrents or IRC filesharing.

    Though knowing that a homing pigeon with a thumb drive is actually faster than the fastest Internet network on the planet, maybe I should simply invest in a coop and some pigeons. 🤔

    • Mic_Check_One_Two@reddthat.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      Though knowing that a homing pigeon with a thumb drive is actually faster than the fastest Internet network on the planet

      Depends on how big the flash drive is, I suppose. Need to send a 1GB file? Just make a torrent. Need to send 40TB? Yeah, that hard drive is getting driven across town.

  • grimer@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 hours ago

    I literally just set up a container for Erugo for this exact thing. It worked perfectly and was super easy to do. It’s just a self-hosted version of wetransfer. Could be helpful…

  • Mike Wooskey@lemmy.thewooskeys.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    I used vaultwarden just the other day for this purpose. I mean, I use vaultwarden daily as a password manager, but it also has secure file transfer.

  • manicdave@feddit.uk
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 hours ago

    I’d go for syncthing over nextcloud for your specific usecase. Nextcloud isn’t good for unreliable connections and they’re sticking with the annoying decision of not supporting server to server synchronization.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 hours ago

    Super easy. Spin up an OpenVPN server, forwarding the right ports to your server. Now spin up an Apache server with the folder your file’s in as server root. Send the client config for your VPN to your friend, along with the local address of your HTTP server. Now they can install the OpenVPN client on their PC and download the file from your HTTP server. Once you’re done, tear down all your servers, and don’t forget to unforward the ports. Couldn’t be easier.

    /s

    • Rekorse@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      5 hours ago

      Okay can you explain why thats a sarcastic answer? Is one of those first three steps way harder than I think it is?

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        7
        ·
        4 hours ago

        Cause that’s not simple or easy at all. It takes a fair bit of knowledge to set up all of these things.

    • NaibofTabr@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      Er, wait, are you using Syncthing for its intended purpose of syncing files across devices on your local network? And then exposing that infrastructure to the internet? Or are you isolating Syncthing instances?

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        Syncthing has public releays enabling it to work (dunno if one or none need to be public) without both parties being exposed.

      • Swarfega@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 hours ago

        It’s very much a WAN solution too. I use it to push my files to a Pi Zero W that’s 200 miles from my house. I use it as an off site store of my files. The Pi is connected as an untrusted device in Syncthing so that all files sit encrypted at rest.

      • MangoPenguin@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 hours ago

        Syncthing is designed to be used over the internet, it’s why it supports NAT hole punching, relay servers, and discovery servers.

      • iii@mander.xyz
        link
        fedilink
        English
        arrow-up
        14
        ·
        8 hours ago

        Syncthing is not limited to local network. It’s hole punching is one of the major features

        • kratoz29@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          4 hours ago

          The fact that Syncthing seems to solve CGNAT on its own has me wondering why there are not more solutions for the server/home side.

          Why does Wireguard or any other VPN not work like Tailscale or Zerotier?

          Why don’t torrent clients can’t work with IPv6 to seed more?

          Why doesn’t Plex adopt a similar mechanic like Syncthing to expose the media over the Internet instead of being a prisoner of CGNAT?

          I know I am just throwing different options with my personal frustrations lol, but I hope you get what I am trying to mean, Plex, torrent and home VPN users shouldn’t become masters at networking, especially when the documentation for the tools IS NOT ENOUGH.

          • WhyJiffie@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            4 hours ago

            Why does Wireguard or any other VPN not work like Tailscale or Zerotier?

            tailscale and zerotier are wireguard, but with a public server that helps with NAT. Syncthing uses a public server for that too.

            wireguard was specifically made to be as simple and minimalistic as possible.

            Why don’t torrent clients can’t work with IPv6 to seed more?

            is there such a problem? honest question. But I think that might be a different issue

            Why doesn’t Plex adopt a similar mechanic like Syncthing to expose the media over the Internet instead of being a prisoner of CGNAT?

            maybe they just don’t see working on it profitable enough

            • kratoz29@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 hours ago

              tailscale and zerotier are wireguard, but with a public server that helps with NAT. Syncthing uses a public server for that too.

              wireguard was specifically made to be as simple and minimalistic as possible.

              Zerotier wasn’t always Tailscale was it?

              is there such a problem? honest question. But I think that might be a different issue

              You need to be connectable to download from all the peers, likewise non connectable users can’t download from you, and how do you become connectable? By opening your ports, something that might seem archaic from somebody who has totally embraced IPv6.

              maybe they just don’t see working on it profitable enough

              Yeah maybe.

              Just to clarify, I have several workarounds for the 3 issues that have involved spending more money or not to get rid of CGNAT.

              • For the 1st one… Well I already mentioned it, I am a ZT and Tailscale user, I did try Wireguard from a VPS once though, but I didn’t like that I was entirely dependant of my upload speed, maybe I had my Iptables wrongly configured but I usually got faster speeds just using ZT or Tailscale (I didn’t need to relay in the US VPS server).

              • For Torrenting… I actually haven’t found a solution to use IPv6… I did use a container client to use my VPS at that time though, it being Digital Ocean and thus getting a DMCA letter for downloading TWD me being a LATAM user was… A kinda funny experience, with that said I stopped that project immediately, it was fun to give back to the community with my 24/7 NAS always seeding though.

              • For the last point… Well, I do use ZT and Tailscale to access the server myself, but when I want to expose it, I usually do it with a reverse proxy pointing out to my IPv6 address, and more recently using a Tailscale funnel, I haven’t tried it thoroughly, but at least it seems to connect without using Plex’s relays.

              As you can see, one needs to be well prepared with workarounds to deal with CGNAT.

      • Brickfrog@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        7 hours ago

        Syncthing is not just for LAN use. Even their homepage mentions transmitting data over the internet

        https://syncthing.net/

        I’ve been using it to sync devices over the internet for years. It’s also how people use it to sync from say their desktop to their phones, remote server, etc.

        If you watch your network firewall Syncthing does reach out to servers on the internet to help it find other devices so e.g. if you enter the other device’s ID (example ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG) it can reach out over the internet to find that specific ID to pair with. I think Syncthing uses a sort of DHT resolver to find other devices, I know on my firewall I had to whitelist Syncthing’s servers to make it work.

        I was going to try to link you some references but their forums seem to have connection issues at the moment, you may want to search around later if you’re interested how Syncthing works over the internet.

    • Cano@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      You can use syncthing to transfer files across the internet? How? I thought it was only for local networks

  • Rekorse@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    Not sure if this works for you but I didnt see it mentioned. I use plex for my media server, so I would just put whatever it is on there and then someone else can log in remotely and download it through the app on their mobile, and I think also via the website too.

    I know this works if the person is downloading from android but haven’t tested otherwise.

    • ReducedArc@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      That should work for media files at least, but I believe they’ll also need Plex pass to be able to download anything.

      • Brickfrog@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 hours ago

        Should be able to do that with Jellyfin, no Plex/Plex Pass needed (if you really want to use media software for this).

        That said I suspect your current method with creating a torrent to share is much more resilient when dealing with choppy internet connections. With Jellyfin/Plex it’s more of a direct download situation, not sure if either can resume broken downloads.

  • Peaches@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    Reminds me I had been needing to find something for this too. Looks like I had thought about using Croc.