I'll throw out another way: to access files from your phone, you can use termux. python -m http.server
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Install an FTP server on your phone. Connect to it via an FTP client on your PC. EZPZ.
KDE Connect has been mentioned before. You can supplement this and other tools by using a VPN so that both endpoints can see each other even if the underlying network does not allow this. My preferred solutions are Tailscale (managed, cloud-based) or Headscale (for self-hosting).
Single file? KDE Connect. A folder? Syncthing
If by wirelessly you mean via Wi-Fi network then one convenient option is qrcp. It generates a QR-code right in your terminal, which you can scan with a phone and send/receive files through a web interface on the URL it provides.
If you want to transfer files regularly, there is another option. Almost every distro has Python installed, and the Python has a "built-in" FTP server.
You need to just cd
into desired directory and run the command python -m pyftpdlib -w
. It will open a FTP server with root in this directory.
You then can access it through a file manager, like Material Files for example, and send files and folders back and forth. In Material Files you can save the server address for future use.
If you want just a replacement for Warpinator, LocalSend is definitely the way to go. I used Warpinator before, and LocalSend is just an overall better version of the same thing imo. Finds other devices instantly, can also send text in addition to files and folders, and is available across platforms.
I use Airdroid! It's free and works very well
I find the easiest approach is to connect to the pc via sftp and use a file explorer that supports it - such as ghost commander.
X-plore on android can give file access via Web frontend in paid Version.
With that you can drag and drop files if that's what you're looking for.
Syncthing is great to periodically sync files between Linux and Android. And you could use it as file transfer service for occasional needs if you just share an empty directory.
samba. share a folder on pc, and on your phone use a file manager that can access smb folders in your local network, then just copy or move from or to that folder. bit of a hassle to set up the first time, but makes things more convenient in the long run.
For secure private transfer use the Warp flatpak in Linux and Worrmhole William in Android.
wifi file explorer pro apk
You should try kde connect
Personally, I prefer LocalSend to KDEConnect.
There might be more modern ways of doing this, but I run "Wifi FTP server" on my phone, with my download directory as its root. Then I use filezilla or whatever to transfer what I need. Trouble free and platform agnostic.
There are some browser based solutions like sharedrop.io and file.pizza. I haven't had the latter work for me though, not sure if it's still functional. They work through WebRTC to discover local candidates for receiving files, the same way that video calling typically finds the best connection.
Security
ShareDrop uses a secure and encrypted peer-to-peer connection to transfer information about the file (its name and size) and file data itself. This means that this data is never transfered through any intermediate server but directly between the sender and recipient devices. To achieve this, ShareDrop uses a technology called WebRTC (Web Real-Time Communication), which is provided natively by browsers. You can read more about WebRTC security here.
Alternatively, Material Files (available in F-Droid) can easily create a local FTP server or connect to a NAS. It's also a pretty good file manager app.
kde connect is my recommendation also
KDE Connect
also syncthing, if you'd like to synchronize a directory to act like a shared folder and be identical on both devices
Syncthing
Never could get it to work with phones, and that from Arch, Mint, Asahi, Macos all sharing flawlessly between thembut no phone would reliably stay sync'ed.
Yeah, to reiterate what @[email protected] said, syncthing
works flawlessly on any Android devices I have used.
Maybe there's something you missed on your phone's setup?
What phone are you using? I've used it my many Android devices from different manufacturers. Always worked flawlessly.
I have a 2-year old android 11 oppo A53, my colleague some small samsung on A10. Installs fine, sync a first time somewhat, then just don't sync a thing.
Oppo has very aggressive battery management.
While I was using one, had to manually turn off battery management for syncthing, and check after major updates....
But worked flawlessly once that issue was solved.
That could be a permissions issue that doesn't allow the app to run on background, Maybelline?
Something like this happened on my sister's laptop. She got a new laptop with Windows 11. She followed some website to set up Syncthing, but it wasn't syncing. Turns out, there's some kind of "trusted network" deal that needs to be figured out. (Don't remember the exact term anymore.) Anyway, helped her fix it, and installed Debian Stable on it the next time I was visiting.
Interesting. I currently use it on a Samsung Galaxy S22 and a Galaxy Tab S6 Lite. In the past, I've used OnePlus, Redmi, and Realme devices. Always worked.
Maybe post it in their forum? They're usually very helpful.
KDE Connect is da Bomb
Either Localsend, if you're only interested in that one function, or KDE Connect for the ultimate experience.
I love Localsend because it's gloriously simple: Does exactly what you want, and nothing more. I haven't used KDE Contact; what else does it add in?
" KdeConnect": Notifications, messages, clioboard sharing, link sharing, remote control of your pointing.device, keyboard, command inputs on computer... When it works it's great, but it is hit-and-miss between distros and updates catching up.
Absolutely love the ability to share links from my android and have them open automagically on my linux HTPC. Also made a command shortcut for my laptop so I can unlock it from my android. Really versatile
KDE Connect is amazing. Also works without KDE.
This just stops working on either my Linux laptop or my phone randomly. I'll need to kill the process and restart it Does anyone know how I can fix this? Battery optimisations are turned off on the phone.
If you turned off battery optimisations globally, it might still kill it. You specifically have to go into app options and allow it to be always on, as well as allowing all it's notifications
Sorry, I meant optimisations for KDE Connect in particular. It has a persistent notification enabled as well.
KDE Connect to my iPad just stopped working for me a few months ago. Do you know of any possible reasons?
could be something fucked with your network settings or ports. if you have 2.4 and 5ghz modes try connecting your ipad to the mode different from the one used by your pc, works for me (edit: on android phone) and I still have no idea why
Doesn't seem to work.. Whenever I send a file from my ipad,
- KDE Connect simply stops connecting correctly.
- GSConnect keeps connection, but the file always fail to send.
See localsend on github