ppareit / swiftp

FTP server for your android device.

Home Page:http://ppareit.github.com/swiftp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working in Android 9 (Pie) Go edition

sb-pi opened this issue · comments

commented

The phone (Nokia 1 plus) connects to wifi and is then pingable.
Swiftp does report the correct name of the network as available for autoconnect.
The server also reports active at ftp://:port/, but can not be reached by any client.
All clients tried - known to be working with ftp servers on older Androids - report
'connection timed out'.
I wonder if this is caused by the new "restricted access to Wi-Fi location and connection
information" mentioned in
https://developer.android.com/about/versions/pie/android-9.0-changes-all ?

The client timeout value is going to be the main issue here and it needs to be increased. They tend to set very low values by default for whatever reason and can throw a timeout when things are actually fine. The app here can only do so much to keep it from being reached as it has things to do that take time.

*Other things could potentially cause a timeout though like a connection issue such as wifi quality, flaky device wifi, app bugs, and more. I don't want to forget that.

(I know nearly 4 years late :)