Sharing files from smart phone to computer

What would be the ways to share files from a smart phone to a FreeBSD computer over a LAN? It could be either directly through the Wifi adapter or through my home LAN to through the switch and wireless access point. I prefer the access point, but solutions for multiple ways welcome. On the other hand, I could go directly over the internet, but I rather do it within my home network, from the phone's wireless connection to my LAN or direct to computer.

Will NFS or an FTP server on my FreeBSD computer do it? Samba could be a solution, while it can be discussed and I welcome it, I want something simpler. Zeroconf also proved too complicated for me.

While this may be obvious to some, the practical ways aren't obvious to me. There also isn't a discussion like this readily to be found. There also may be multiple methods. Also, I want to do this so I can do it without having to remove a micro SD card every time and without the USB cable. It's for convenience.

Thank you

Edit: also, for such as transferring music files to my smart phone.
 
Currently using WiFi FTP Server on Android


On Android 5.0 & higher, to access external SD card, in app settings, click mount folder, select "custom" and then select the external SD card in the next screen.

View: https://www.youtube.com/watch?v=Xaqc11qq-Uw


I prefer a GUI for navigating Android filesystem so just install FileZilla client on FreeBSD

 
ftp/filezilla is a client. I installed and ran it. It seems useful for these purposes, if I use my Raspberry Pi as a dedicated server.

I'll try the BSD ftp way. Leaning towards ftp/pure-ftpd or NetBSD's ftp/tnftpd. ftp/oftpd is an anonymous only one, which is obsolete and has nothing to do with OpenBSD. There's also ftp/freebsd-ftpd, which was removed from the base system since FreeBSD 14, but not sure if it has security options.

Thread howto-setup-a-pure-ftpd-server-with-virtual-users.591 may be helpful.

I'm considering having two directories with different settings on my LAN: a less secure one, which can be public read-only, for placing files such as music to my phone; and a secure ftp directory. For this, not sure if the public ftp on my LAN requires an encrypted connection rather than plain ftp. Also, I rather use ftps (ftp over SSL/TLS) than sftp (ssh ftp), but either may do.

Looking up NFS (Network File System), it doesn't have secure file transfers.

I wonder about other secure alternatives to ftps.
 
Back
Top