Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-06-2018, 09:55 AM   #16
Registered: May 2007
Posts: 952

Original Poster
Rep: Reputation: 31

Originally Posted by AwesomeMachine View Post
Samba is OS agnostic. If you haven't used it before, there's a little learning curve. But it does exactly what you want, which is to share files. You just set up the server on the PC, and scan the lan from a file manager on the Android phone. The phone should just find the samba share.
Really??! O= I always thought that Samba was born and was natural to uindoze

I am almost finishing my "ftp setup"... but maybe I throw it out for samba
Old 10-07-2018, 07:26 PM   #17
Registered: May 2007
Posts: 952

Original Poster
Rep: Reputation: 31
My progress

Parts of what I found for the mobile side of this story was making it an FTP server. Since this looks more complicated, I took the other path: make my computer be an FTP server for LAN only.

I discovered that my Debian already has vsftpd installed. Great. Then I found a page that is much easier than I imagined:

Originally Posted by with some edits and comments on the original text
How to setup FTP Server on Debian 9

[...] # Long intro, only a few parts of it matter:

[...] By installing FTP Server, we can easily upload and download files from the server vice versa. Client will need a special FTP Client in order to communicate with the server. [...]

[...] install FTP Server on Debian 9 using vsftpd package [...]

Steps to install FTP Server on Debian 9

We are going to take the following actions:
1 Update Debain
2 Install vsftpd
3 Configure vsftpd


3 Configure vsftpd

Now, we need to secure FTP Server via vsftpd.conf file. We need to edit some sections such as disable anonymous user access and to allow local user to use FTP Server.

Edit the configuration file

nano /etc/vsftpd.conf

[...] # note that I do not mind annonymous access, since I want to limit the access to LAN machines only. Good?

To disable anonymous access, find and change to NO on the following line:

anonymous_enable=NO [...] # I left this option as YES

Allow local user


Enable uploading feature


Now close and save the file. Finally, restart the service

systemctl restart vsftpd

Thatís it, our Linux FTP Server is ready. Now we can connect to this FTP Server using various FTP Clients such as FileZilla.
My simplified /etc/vsftpd.conf is:

But after doing (as root, of course) a vsftpd restart I cannot connect from the computer to itself using FTP (Caja, Mate's file manager does that, I can show details to you, if needed).

And this way it shares the root folder to FTP! I want to choose which folder is shared! Preferably a chosen computer folder as the FTP root, impossible to be [..]'ed.

Since it did not work, I undid the changes and restarted the daemon again.

Last edited by dedec0; 10-07-2018 at 07:29 PM.
Old 10-08-2018, 05:05 AM   #18
Senior Member
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 (Netbook) and 18.3 (Desktop)
Posts: 1,422

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Wow! It all looks very complicated with Samba shares and Apache web servers to transfer files from a phone.

I've installed WiFi File Transfer Pro on my Android phone. Both the phone and your computer should be connected to your router, wired or WiFi. You start the App which runs a file server on the phone and can be accessed by your web browser. (Point it at the browser at the IP displayed by the App on the phone)
You can now select files on either the phone or computer and transfer them back and forth to your heart's content.

WiFi Transfer Pro costs less than a quid, the free one can't transfer files of any real size but is fine for checking out the process.

Hope that helps!

Play Bonny!

Attached Thumbnails
Click image for larger version

Name:	WiFi_Transfr_Pro.jpeg
Views:	4
Size:	172.8 KB
ID:	28755  
Old 10-08-2018, 05:19 AM   #19
Registered: May 2007
Posts: 952

Original Poster
Rep: Reputation: 31
Originally Posted by Soadyheid View Post
Wow! It all looks very complicated with Samba shares and Apache web servers to transfer files from a phone. :(
I (yet) did not try the Samba path. This is because FTP is older, and should (I think) be easierly installed.

For FTP, I am not sure what I am doing wrong. I appreciate some help with that. My previous post is detailed, but it is not that I looked and chosed each detail (for example) the vsftpd.conf file. The changes I have were told here.

For the rest of your post, Soadyheid, I thank you for your attention and suggestion. But it is not the kind of setup I want because (1) it is not open source and (2) it is not free. Yes, it is cheap, you said. I still keep my arguments.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make torrent use wifi when connected to LAN & WIFI priyankgupta1984 Linux - Newbie 3 08-25-2014 04:25 PM
LXer: Make Your Computer Talk with Festival Linux LXer Syndicated Linux News 0 03-15-2013 09:00 AM
[SOLVED] Silly Question -> Site or my Computer jv2112 LQ Suggestions & Feedback 3 04-28-2011 06:54 PM
Rather silly question about Lilo, just to make sure Sabinou Mandriva 2 01-07-2008 05:33 AM
Simple, silly wifi question oobnuker Linux - Wireless Networking 8 09-01-2005 05:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration