On Mon, 09 Nov 2015 20:15:15 +0000, root wrote:
> No, the device does not have to be rooted. In view of all the responses
> given I don't have the interest in reading them and seeing whether they
> cover the fact that the assumption behind ES file explorer is that
> the remote device has set up a samba server with public access.
> I ask the OP to respond to this post if he needs instructions on
> setting up samba.
Your advice is good, and yes, I am having trouble setting up Samba.
But, luckily, there are a few ways to get a *graphical* file manager
either on Android or on Linux which allows us to easily copy files and
directories back and forth via WiFi across the local LAN.
Here's my summary of what I have learned from all of you today:
============================================================================
How to *graphically* copy files between Linux & Android
1. On Android, set up WiFi FTP Server
And then on Linux, use Nautilus as the GUI.
2. On Android, set up ES File Explorer's FTP Server
And then on Linux, use Nautilus as the GUI.
3. On Linux, set up a Samba share
And then on Android, use ES File Explorer as the GUI.
4. On both Linux & Android set up KDE Connect,
And use KDEconnect to transfer files.
============================================================================
I have number 1 and 2 working; I am trying to debug 3 and 4.
Here are the directions for 1 and 2 that I wrote up for others:
============================================================================
How to use ES File Explorer's FTP server for Android & Linux file transfer
(This allows Linux Nautilus to manage Android files as if they were on
Linux).
============================================================================
a. On Android, turn WiFi on
b. On Android, start ES File Explorer
c. On Android, press the hard "Menu" (aka Hamburger) key
d. Select "Tools" and then "Remote Manager" buttons
e. That popped up a screen which said the "Networks Status" was good.
f. It said "You can manage your device through your PC after you
turn on the [FTP] service".
g. There was a button called "Turn on", so I hit it.
h. That gave me an FTP URL of the following:
Input the address on your pc =
ftp://192.168.1.4:3721/
i. Defaults are:
Close on exit=yes
Port=3271
Root=/sdcard (you will want to change this to "/")
account=Anonymous
j. On Linux, I entered the given FTP URL into the Firefox web browser
k. Up popped an index directory listing in Firefox
l. The sd card was "Index of
ftp://192.168.1.4:3721/../../extSdCard/"
m. Camera files were "Index of
ftp://192.168.1.4:3721/../../extSdCard/
DCIM/Camera/"
n. On Linux, I started Nautilus (file manager)
o. In Nautilus, I pressed "Connect to Server"
p. Up popped a form asking for the "Server Address", where I entered:
q.
ftp://192.168.1.4:3721/ and then I pressed "Connect"
r. In Nautilus, up popped an Enter Password form
s. I selected Anonymous, and pressed "Connect".
(I could have set user/passwd authenticaion in ES File Explorer
settings)
t. The Android file system showed up graphically in Nautilus.
/run/user/1000/gvfs/ftp:host=192.168.1.4,port=3721/
u. Copy files back & forth between Android & Linux using the Nautilus GUI.
============================================================================
How to use WiFi FTP Server for two-way Android & Linux file transfer
(This allows Linux Nautilus to manage Android files as if they were on
Linux).
============================================================================
1. On Android, install "WiFi FTP Server" by Medha Apps Tools
https://play.google.com/store/apps/details?
id=com.medhaapps.wififtpserver
2. On Android, start the WiFi FTP Server and check the settings
3. Defaults are port 2221;login=android;password=android;root=/;rw access;
4. Note that, by default, anonymous access is allowed
5. On Android, press the WiFi FTP Server "START" button.
6. Notice the "Server URL" that results, e.g.,
ftp://192.168.1.11:2221
7. On Linux, start "Nautilus" & press the "Connect to Server" button
8. A form pops up asking for the "Server Address"
9. Type
ftp://192.168.1.11:2221 into the Server Address & press "Connect"
10. A form to "Enter password" will pop up, set to "Anonymous".
11. Either leave it at anonymous or type in the login/password above
12. You should soon graphically see, in Nautilus, your Android root folder
On Linux, you can now browse and copy and paste your Android files using
the same graphical file browser you use on Linux every day.
From Linux' standpoint, the "pwd" of the root directory on Android is:
/run/user/1000/gvfs/ftp:host=192.168.1.11,port=2221/
I had never *seen* a filespec such as that, and didn't even realize it
was legal, but, there it is (it even works at the command line but you
may need to turn off the prompt because it's inherently too long).
$ cd /run/user/1000/gvfs/ftp:host=192.168.1.11,port=2221/mnt/extSdCard/
DCIM/Camera/
$ cp 20151105_115511.jpg /tmp
This is all I know about #3.
============================================================================
How to use Linux SMB server for two-way Android & Linux file transfer
(This allows Android ES File Explorer to manage the files in the Linux
share.
============================================================================
1. Start ES File Explorer
2. Press "Hamburger" > Network > LAN and then press "Scan".
3. You will see all the known SMB shares (linux should be one of them)
============================================================================