[OnePlus 5 Questions & Answers] kimyeungg:
Hi guys,

I used to transfer files between my phone & PC via FTP using Filezilla.

Before I switch to ONEPLUS 5, I used Xiaomi 5S (with official LineageOS) and it have totally same results with now what I've been through.

It is really weird as Filezilla keeps showing disconnecting from server (both of my ONEPLUS 5 and Xiaomi 5S with LOS Rom but works great in MIUI stock rom).

I used the app below to host FTP server

https://play.google.com/store/apps/details?id=com.medhaapps.wififtpserver

When I'm still using Xiaomi 5S, I used to think it was something related to LOS' config because IT WORKS GREAT on MIUI stock rom, it never shows disconnecting during FTP transfer.

I've tried different FTP software on PC & different APPS on ONEPLUS5 and xiaomi5s to host ftp server but same results.

Here is some log extracted from Filezilla....

it keeps disconnecting and reconnecting

Status:	Connecting to 192.168.1.29:2121...
Status:	Connection established, waiting for welcome message...
Status:	Insecure server, it does not support FTP over TLS.
Status:	Logged in
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0015.jpg
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0003.jpeg
Status:	Insecure server, it does not support FTP over TLS.
Response:	220 Service ready for new user.
Command:	AUTH TLS
Response:	431 Service is unavailable.
Command:	AUTH SSL
Error:	Could not connect to server
Command:	USER anonymous
Response:	331 Guest login okay, send your complete e-mail address as password.
Command:	PASS *********************
Response:	230 User logged in, proceed.
Command:	OPTS UTF8 ON
Error:	Could not connect to server
Status:	Disconnected from server
Command:	USER anonymous
Response:	331 Guest login okay, send your complete e-mail address as password.
Command:	PASS *********************
Response:	230 User logged in, proceed.
Command:	OPTS UTF8 ON
Response:	200 Command OPTS okay.
Command:	OPTS MLST size;modify;type;
Error:	Could not connect to server
Status:	Disconnected from server
Status:	Delaying connection for 5 seconds due to previously failed connection attempt...
Status:	Logged in
Status:	Logged in
Status:	Logged in
Status:	Retrieving directory listing of "/test/WhatsApp Images"...
Status:	Logged in
Status:	Logged in
Status:	Disconnected from server
Status:	Delaying connection for 5 seconds due to previously failed connection attempt...
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0009.jpeg
Status:	Retrieving directory listing of "/test/WhatsApp Images"...
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0017.jpg
Status:	Retrieving directory listing of "/test/WhatsApp Images"...
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0021.jpg
Status:	Retrieving directory listing of "/test/WhatsApp Images"...
Status:	Retrieving directory listing of "/test/WhatsApp Images"...
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0013.jpg
Status:	Retrieving directory listing of "/test/WhatsApp Images"...
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0018.jpg
Status:	Retrieving directory listing of "/test/WhatsApp Images"...
Status:	Delaying connection for 5 seconds due to previously failed connection attempt...
Command:	TYPE I
Response:	200 Command TYPE okay.
Command:	PASV
Error:	Connection closed by server
Error:	File transfer failed
Status:	Disconnected from server
Status:	Delaying connection for 5 seconds due to previously failed connection attempt...
Status:	File transfer successful, transferred 80,280 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0032.jpg
Command:	PASV
Response:	227 Entering Passive Mode (192,168,1,29,169,233)
Command:	STOR IMG-20161116-WA0031.jpg
Response:	150 File status okay; about to open data connection.
Error:	Connection closed by server
Error:	File transfer failed
Status:	Disconnected from server
Status:	Delaying connection for 5 seconds due to previously failed connection attempt...
Status:	File transfer successful, transferred 82,327 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0042.jpg
Command:	TYPE I
Response:	200 Command TYPE okay.
Command:	PASV
Response:	227 Entering Passive Mode (192,168,1,29,157,16
Command:	STOR IMG-20161116-WA0021.jpg
Response:	150 File status okay; about to open data connection.
Error:	The data connection could not be established: ECONNREFUSED - Connection refused by server
Status:	File transfer successful, transferred 117,648 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0051.jpg
Status:	Connecting to 192.168.1.29:2121...
Status:	Connecting to 192.168.1.29:2121...
Status:	Connecting to 192.168.1.29:2121...
Status:	Connecting to 192.168.1.29:2121...
Status:	Connecting to 192.168.1.29:2121...
Status:	Connection established, waiting for welcome message...
Status:	Connection established, waiting for welcome message...
Status:	Connection established, waiting for welcome message...
Status:	Connection established, waiting for welcome message...
Status:	Connection established, waiting for welcome message...
Status:	Insecure server, it does not support FTP over TLS.
Status:	Insecure server, it does not support FTP over TLS.
Status:	Insecure server, it does not support FTP over TLS.
Status:	Insecure server, it does not support FTP over TLS.
Status:	Insecure server, it does not support FTP over TLS.
Status:	File transfer successful, transferred 79,645 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0052.jpg
Command:	USER anonymous
Response:	331 Guest login okay, send your complete e-mail address as password.
Command:	PASS *********************
Response:	421 Maximum anonymous login limit has been reached.
Error:	Could not connect to server
Command:	USER anonymous
Response:	331 Guest login okay, send your complete e-mail address as password.
Command:	PASS *********************
Response:	421 Maximum anonymous login limit has been reached.
Error:	Could not connect to server
Status:	Logged in
Status:	Disconnected from server
Status:	Logged in
Status:	Disconnected from server
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0057.jpeg
Status:	File transfer successful, transferred 86,967 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0060.jpg
Status:	File transfer successful, transferred 599,820 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0061.jpeg
Status:	File transfer successful, transferred 654,916 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0066.jpg
Status:	File transfer successful, transferred 247,399 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0068.jpg
Status:	File transfer successful, transferred 101,793 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0072.jpg
Status:	File transfer successful, transferred 759,357 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0073.jpg
Status:	File transfer successful, transferred 128,556 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0074.jpg
Status:	File transfer successful, transferred 130,375 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0075.jpg
Status:	File transfer successful, transferred 251,483 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0076.jpg
Status:	File transfer successful, transferred 110,426 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0077.jpg
Status:	File transfer successful, transferred 47,807 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0078.jpg
Status:	File transfer successful, transferred 91,470 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0080.jpg
Status:	File transfer successful, transferred 66,863 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0083.jpg
Status:	File transfer successful, transferred 89,849 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0086.jpg
Status:	File transfer successful, transferred 127,765 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0087.jpeg
Status:	File transfer successful, transferred 151,813 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0090.jpg
Status:	File transfer successful, transferred 81,120 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0091.jpg
Status:	File transfer successful, transferred 138,126 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0092.jpg
Status:	File transfer successful, transferred 627,416 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0093.jpg
Status:	File transfer successful, transferred 194,661 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0094.jpg
Status:	File transfer successful, transferred 239,643 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0095.jpg
Status:	File transfer successful, transferred 193,966 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0096.jpg
Status:	File transfer successful, transferred 160,129 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0098.jpg
Status:	File transfer successful, transferred 111,436 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0099.jpg
Status:	File transfer successful, transferred 134,758 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161117-WA0100.jpg
Status:	File transfer successful, transferred 131,007 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0000.jpg
Status:	File transfer successful, transferred 91,646 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0001.jpg
Status:	File transfer successful, transferred 91,470 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0002.jpg
Status:	File transfer successful, transferred 112,339 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0003.jpg
Status:	File transfer successful, transferred 93,653 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0004.jpg
Status:	File transfer successful, transferred 83,080 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0005.jpg
Status:	File transfer successful, transferred 150,434 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0006.jpg
Status:	File transfer successful, transferred 78,485 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0007.jpg
Status:	File transfer successful, transferred 44,913 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0010.jpg
Status:	File transfer successful, transferred 185,171 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0011.jpg
Status:	File transfer successful, transferred 165,944 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0012.jpg
Status:	File transfer successful, transferred 158,136 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0013.jpg
Status:	File transfer successful, transferred 126,737 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0014.jpg
Status:	File transfer successful, transferred 232,372 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0015.jpg
Status:	File transfer successful, transferred 174,401 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0016.jpg
Status:	File transfer successful, transferred 48,741 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0022.jpg
Status:	File transfer successful, transferred 105,637 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0024.jpeg
Status:	File transfer successful, transferred 758,831 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0027.jpg
Status:	File transfer successful, transferred 112,184 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0028.jpeg
Status:	File transfer successful, transferred 538,325 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161118-WA0030.jpg
Status:	File transfer successful, transferred 57,415 bytes in 1 second
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0031.jpg
Status:	Delaying connection for 5 seconds due to previously failed connection attempt...
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0007.jpeg
Status:	Delaying connection for 5 seconds due to previously failed connection attempt...
Status:	Logged in
Status:	Starting upload of D:\5s\05-07-17\WhatsApp\Media\WhatsApp Images\IMG-20161116-WA0013.jpg
Status:	Retrieving directory listing of "/test/WhatsApp Images"...
Status:	File transfer successful, transferred 106,099 bytes in 1 second