FTP on ARC S not working!

anonimo

Senior Member
Nov 7, 2006
387
8
18
The Beautiful South
Hi all,
If you visit this forum you are probably interested in rooting your phone however here is a word of warning in case you can't root a SonyEricsson Arc S. This is unfortunately also my case as my Arc S is a company phone so I can't fiddle too much with it.
Anyway, the Arc S has a quantity of bloatware pre-installed that cannot be removed unless you root your phone. One piece of this bloatware is the Facebook UploadManager process that keeps running all the time and will restart automatically if you kill it.
This process has been coded by Facebook to use ftp and will hijack any other file transfer based on FTP. Any FTP client you install will fail to transfer files because of this background process. If you want to transfer small files you can kill the Facebook process and hope that your FTP transfer finishes before the facebook crap restarts, for large files you are out of luck.

As a side comment: SonyEricsson is obviously getting money from Facebook to make this crap non-removable by the end customer. There is absolutely no reason to make this pre-installed stuff non removable!

I really wish Google issued stricter terms and conditions to companies that license the Android OS to stop them from doing this. I am really questioning Google's business model of allowing Android to become a trojan horse for unwanted stuff running on your phone without permission.
 
Last edited:

realfelix

Senior Member
Apr 4, 2011
1,596
334
0
27
Trier
simple solution: root with doomlords easy rooting kit and remove facebook.apk from /system/app by using root explorer or anything similar.. then if u want it back just reinstall it from the market it won't be running in the background if you don't use it :) trust me :)
 

dp94

Senior Member
Feb 22, 2011
629
123
0
Linz
Yes I have just done it and I have removed at least 5 or 6 turds of facebook ****. I hope the unroot thingy works if I need to unroot in the future...

Die facebook die!

PS: thanks for the suggestion!
Usually it should work and if it doesn't just flash a new firmware using PCC or SEUS, then the root is also gone. ;)
 

realfelix

Senior Member
Apr 4, 2011
1,596
334
0
27
Trier
if you flash another FW the facebook beast will come back :p

but the doomlord unrooting kit works as long as you stick with the firmware you've rooted and DO NOT make changes to the busybox installed(e.g. installing a higher version) !
 

anonimo

Senior Member
Nov 7, 2006
387
8
18
The Beautiful South
Hell FTP keeps failing after removing almost all background processes. It seems that the problem was not due to the facebook upload manager process!
Is anyone successfully using an ftp client on this phone? I really don't know what else I can try...
 

anonimo

Senior Member
Nov 7, 2006
387
8
18
The Beautiful South
I have tried AndFTP, ES File Explorer and a third one and they all fail with large files. In my case I'm trying to transfer FLAC files...
I have also tried changing ports and both active and passive modes. If I try to transfer a folder with 10 files it will usually fail after 2 or 3 minutes so sometimes the first file goes fine...
 

dp94

Senior Member
Feb 22, 2011
629
123
0
Linz
Just tried to transfer a folder with 700 MB several times and after 1-2 minutes it fails every time.
I don't really need it, so it doesn't matter for me, but sorry that I can't help you.
 
  • Like
Reactions: anonimo

anonimo

Senior Member
Nov 7, 2006
387
8
18
The Beautiful South
Ok Thanks... so I guess it is not related to something I installed on my phone... do you mind letting me know what ROM you are using and what running programs you see in "Settings"...

(Nevermind about the ROM... I can see it in your signature)...
 

anonimo

Senior Member
Nov 7, 2006
387
8
18
The Beautiful South
am using FtpCafe, it works awesome,, did you try it?

Sent from my LT18i using Tapatalk
Yes I tried FtpCafe, AndFTP and ES File Explorer and I get the same error from all of them. All these clients work fine if I transfer small files that take only a few seconds to complete.

Can you reliably transfer a folder with several large (40 MB) files taking several minutes without problems?

If that's the case then perhaps you can give us more details about your phone... which ROM you are using, which background services are running, etc...
 

adoet_t

Senior Member
May 23, 2011
54
9
0
Jakarta
all works fine when transfer 40MB > ,,
edit your FtpCafe preferences > Socket connection timeout > No timeout.
also check your server about timeout.

am still on stock kernel & ROM. (rooted)

Sent from my LT18i using Tapatalk
 

Attachments

anonimo

Senior Member
Nov 7, 2006
387
8
18
The Beautiful South
I have tried to change that parameter in FtpCafe but it doesn't make any difference in my case. I have also tried changing the buffer size in FtpCafe and transfers seem a bit more reliable with a larger buffer but eventually they will fail anyway.
One thing I have noticed in your screenshots is that your transfer is slow... Probably you are not ftping over a local network. I think this could be an indication that I am hitting a socket flow control problem in Android that appears only with fast transfers of data.
I can transfer files without any timeout issue if I use the smb protocol between the pc and the phone; smb is much slower than ftp and perhaps that's the reason why it works in my scenario...