this post was submitted on 20 Apr 2024
293 points (99.7% liked)
Open Source
30983 readers
518 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Only somewhat related, but is there an easy tool for sending files from one device to another when on the same network? I imagine that scenario shouldn't need some third party server to connect to but I've yet to find a tool like this.
KDE Connect should fit the bill; despite the name, you don't need to be using KDE (or Linux even) since there are clients for every major OS, even mobile.
Among many other cool features, it lets you easily and simply just send a file from one device directly to another on your local network. I use it all the time to send photos from my phone to my desktop without plugging anything in, for example.
Looks nice but I don't seem to be able to send whole folders, just individual files :/
Maybe .zip, .7z or .rar would help here?
That's too much effort to send a folder, especially as I also need to extract on the destination too.
I went with LocalSend instead, it sends folders like a charm :)
Much simpler and more direct than the other suggestions: LocalSend.
Also fully open source, local only, cross platform. Only works in the same network, obviously. That's the point.
This seems to work like a charm! It even sends folders and everything :)
Others told about snapdrop, sharedrop, localsend etc.
But depending on what devices you are talking about, you might do with just an http server.
I have a file manager on my (android) phone with a http server built in, and my laptop is connected to it via WiFi hotspot all the time. I just start a server on my phone and use a browser or any other download tool (curl, wget) to transfer files from my phone to my laptop.
If you have python installed, you can run an http server on any device you have (for example, a laptop) via
python -m http.server
and access your files from any other device on the same network by manually typing your local IP into a browser.I think ShareDrop does that.
RSync, scp, rcp, SMB, sneakernet, plus numerous third-party tools. It depends on the platform and exact scenario.
There’s an app called Local Send that’s like an alternative to air dropping files on iOS devices, not sure if that’s what you’re talking about or not.
Syncthing accomplishes both local and Internet transfers and doesn't need a third party server (if you're not doing NAT traversal). I don't think you can send individual files through it's interface. But you can share a directory and any files you add (or edit) will sync via P2P to other devices.
I run a local instance of www.snapdrop.net in docker off my Synology NAS. Works great!
Warpinator
If you are inclined to do things that way there's also the python Fileserver
$ python3 -m http.server 8080
LANDrop has an app for every operating system and android/ios
Android devices have this function natively built in
Where/how?
I think it's called Nearby Share. If you click "share" on a particular file, the option to share to a nearby device appears using Nearby Share.
Hmm I think that works based on Bluetooth. I want it to work based on the network, as some of my PCs don't have bluetooth. LocalSend works fine though.
Oh got it 👍🏻
You can't really do this on the web as devices can't directly connect to one another. You need some signalling server to bootstrap the transfer. However almost all of these WebRTC services will actually do the transfer locally if both devices are connected to the same network and can talk to one another directly.
So you would need a native application.
Yes but I was talking about the same network :)
LocalSend does exactly what I wanted
Wormhole (a command line tool) is also a good choice. It works in lan but also over the internet.