Ok - found the fix. FTPServer 2.9.1 (66) actually works fine on the Android 7.1.1 Samsung Tab-3. I just transfered a 121 mb video file from my Linux box onto the tablet, and it transfered in binary, and can be viewed on the Tab-3 no problem.
There is just a little glitch in the way the server is handing back the default directory to the client FTP, I think.
FTPServer on the Tab-3 is configured to use /sdcard as its default directory. "/sdcard" is a soft-link to "/storage/self/primary", which is where the user-files can be put.
You can start FTPServer 2.9.1 (66) on the Android 7.1.1 tablet, and just run an FTP session from Linux command line in a terminal window, and send files that way. The FTPserver running on the tablet works correctly, manages wake-locks, and accepts the file. The protocol from my CentOS-7.4 Linux box is simply:
[me@my_machine] ftp (run FTP, you might need to install it on your Linux box...)
ftp> open aaa.bbb.ccc.ddd pppp (where aaa.bbb.ccc.ddd is Tablet IP#, and pppp is FTPserver port#)
FTPserver makes the connection, but it sets the default directory as "/storage/emulated/0", which is wrong
(it should be "/sdcard". You just have to change it with the local FTP command "cd /sdcard". The
FTPServer still reports the default remote directory as /Storage/emulated/0, but if you enter "ls" to see
the remote files - you see the contents of /sdcard, which is /Storage/Self/Primary )
ftp> Name: (enter the USERID you setup in FTPserver)
ftp> Password: (the password for USERID, defined in FTPserver)
(FTPserver on Tablet tells you it has connected... and reports it is sending in binary form, which is good..)
ftp> !ls (to check your local files)
ftp> cd /sdcard/Movies (FTPserver will report it is using /Storage/emulated/0/Movies)
ftp> prompt off (Turn off the stupid FTP prompting...)
ftp> mput Yatta* (send your files to /Storage/Self/Primary/Movies, softlink name of: /sdcard/Movies)
ftp> close (close the connection, once the files are sent..)
So, from Linux command-line, the FTPServer can be run on the Android 7.1.1 Tablet, no problem.
If running from a file-window, it messes up, because as you click around on files and directories,
the fact that FTPserver is reporting the wrong directory string, messes up default directory
references. But if you just explicitly run it at command line, FTPServer works fine.
Remember - there is plaintext transmission happening here - so don't use FTP for high
security or financial stuff. But it's fine if you are remote, and only sending videos and text files
which you can verify have been sent to the Tablet correctly.
Hope this note is useful for someone...
- Rus