54
submitted 2 weeks ago* (last edited 2 weeks ago) by ReducedArc@lemmy.world to c/selfhosted@lemmy.world

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

top 50 comments
sorted by: hot top controversial new old
[-] TheFinn@discuss.tchncs.de 24 points 2 weeks ago
[-] NaibofTabr@infosec.pub 1 points 2 weeks 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?

[-] iii@mander.xyz 16 points 2 weeks ago

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

load more comments (4 replies)
[-] brickfrog@lemmy.dbzer0.com 6 points 2 weeks ago* (last edited 2 weeks 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.

[-] MangoPenguin@lemmy.blahaj.zone 4 points 2 weeks ago

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

[-] Swarfega@lemm.ee 3 points 2 weeks 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.

[-] Appoxo@lemmy.dbzer0.com 3 points 2 weeks ago

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

load more comments (2 replies)
[-] Knossos@lemmy.world 14 points 2 weeks ago

You could try wormhole. It makes a direct connection.

[-] eight_byte@feddit.org 7 points 2 weeks ago

Or croc which is very similar. I think it also allows to resume file transfers.

[-] plim@feddit.dk 12 points 2 weeks ago
[-] Brunette6256@sh.itjust.works 2 points 2 weeks ago

Wormhole or croc

[-] fubarx@lemmy.world 8 points 2 weeks ago
[-] hperrin@lemmy.ca 8 points 2 weeks 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

[-] admin@lemmy.haley.io 10 points 2 weeks ago

I have non-ironically gotten responses like this

[-] Rekorse@sh.itjust.works 2 points 2 weeks 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 11 points 2 weeks ago

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

[-] WhyJiffie@sh.itjust.works 5 points 2 weeks ago

openvpn and apache can be very time consuming to set up if you do it for the first time

[-] Retro_unlimited@lemmy.world 7 points 2 weeks 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.

[-] zewm@lemmy.world 6 points 2 weeks ago

If they are local, you can just put it on a thumb drive and physically transfer it.

[-] ReducedArc@lemmy.world 2 points 2 weeks ago

Absolutely, that is definitely preferred when possible!

load more comments (1 replies)
[-] manicdave@feddit.uk 5 points 2 weeks 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.

[-] Typewar@infosec.pub 5 points 2 weeks 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 5 points 2 weeks 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.

[-] Kolanaki@pawb.social 5 points 2 weeks ago* (last edited 2 weeks 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 3 points 2 weeks 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.

[-] Kolanaki@pawb.social 5 points 2 weeks ago

Perhaps two pigeons could carry the hard drive on a string. I've heard tell of swallows that have done this with coconuts.

[-] danielquinn@lemmy.ca 5 points 2 weeks ago
[-] grimer@lemmy.world 5 points 2 weeks 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...

[-] JRaccoon@discuss.tchncs.de 4 points 2 weeks ago

My use case is a bit different than yours but still worth mentioning, I think; I have Sharry running in Docker and it makes sharing and receiving files super easy. All downloads and uploads are resumable so they work well even in unstable networks.

[-] MangoPenguin@lemmy.blahaj.zone 4 points 2 weeks ago* (last edited 2 weeks ago)

I've used:

https://send.tresorit.com/

https://wormhole.app/

https://pairdrop.net/

But for slower connections bittorrent is the best option by far because it doesn't care about interruptions, and verifies the data as it goes. Just gotta make sure you're port forwarding the client.

[-] RonnyZittledong@lemmy.world 3 points 2 weeks ago

I have a minio instance that I use to distribute files

[-] MightyCuriosity@sh.itjust.works 3 points 2 weeks 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.

[-] Appoxo@lemmy.dbzer0.com 3 points 2 weeks ago

If its a file from my seedbox: Direct share link (optional pw)
Local file: OneDrive

[-] bigDottee@geekroom.tech 3 points 2 weeks ago

I’d have to have friends across the internet that wanted files first…

[-] Moonrise2473@feddit.it 2 points 2 weeks ago

i like zipline but i use it for smaller files where download resumability is not a key factor

[-] deprecateddino@lemmy.world 2 points 2 weeks ago
[-] Peaches@lemmy.today 2 points 2 weeks ago

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

[-] Rekorse@sh.itjust.works 2 points 2 weeks 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.world 2 points 2 weeks 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 3 points 2 weeks ago* (last edited 2 weeks 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.

[-] JigglySackles@lemmy.world 2 points 2 weeks ago

Wormhole.app, can't recall if they have a limit atm

[-] UnH1ng3d@lemmy.world 2 points 2 weeks ago

I use wormhole, but when I've wanted to use that website for receiving, I can never tell how to do it.

Can you actually use that site to receive files?

[-] SilentKnightOwl@slrpnk.net 2 points 2 weeks ago

Whoever uploaded them has to send you a link to them. It does have a limit of 10gb, but its pretty reliable I'm my experience.

load more comments (1 replies)
[-] miss_demeanour@lemmy.dbzer0.com 2 points 2 weeks ago
[-] theskyisfalling@lemmy.dbzer0.com 2 points 2 weeks ago

Just share the folder on soulseek. Probably not advisable for any sensitive information though xD

[-] skankhunt42@lemmy.ca 1 points 2 weeks ago

I host pingvin for people to send stuff to me. To send, usually I'll just move the file into a folder that exposed to Nginx with indexing and send that link. Otherwise I'll also just use my pingvin instance.

load more comments
view more: next ›
this post was submitted on 17 Mar 2025
54 points (93.5% liked)

Selfhosted

45329 readers
279 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS