ftp download issue

Support for Android version of Total Commander

Moderators: Hacker, petermad, Stefan2, white

Post Reply
lneam
Junior Member
Junior Member
Posts: 55
Joined: 2022-08-13, 11:15 UTC

ftp download issue

Post by *lneam »

- test equipment
both routers has usb port with usb stick as a NAS
tcandroid350d-universal
tcandroidftp248


router 1 wifi 4
smartphone 1 android 10 test OK
smartphone 2 android 13 test OK


router 2 wifi 6 with 2.4G & 5G (both tested)
smartphone 1 android 10 test OK

smartphone 2 android 13 test OK only for upload
the issue is
- when i download i face the follow issue. After 3-5 seconds the bar of progress pause (not moving). I wait ... and when the transfer of files has done, the transfer window of wincmd dissapper. The files are OK.
- if i press "cancel" to stop the transfer, there is no stop. I press many times to stop
If .... i press the android home button and after 2 seconds or more return to totalcmd ... the transfer has terminate with an error massage
If .... i close the device screen durring transfer, when i open again the transfer has fail.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ftp download issue

Post by *ghisler(Author) »

How big is the file you are trying to download?
Author of Total Commander
https://www.ghisler.com
lneam
Junior Member
Junior Member
Posts: 55
Joined: 2022-08-13, 11:15 UTC

Re: ftp download issue

Post by *lneam »

Hi,
it is folders. From 1.5GB up to 20GB. For files up to few MB there is no issue. The transfer rate is from 50-60MB /sec. Write is 15-22MB. But the write can work with no problem, even with screen off
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ftp download issue

Post by *ghisler(Author) »

Thanks, I will test it. Btw, if you download to an SD card formatted with FAT32, the maximum supported size per file is 4GB-1 byte.
Author of Total Commander
https://www.ghisler.com
lneam
Junior Member
Junior Member
Posts: 55
Joined: 2022-08-13, 11:15 UTC

Re: ftp download issue

Post by *lneam »

Hi,

- both routers have USB sticks with exfat

- both smartphones have only internal storage
smartphone 1 has ext4 format
smartphone 2 has f2fs format
lneam
Junior Member
Junior Member
Posts: 55
Joined: 2022-08-13, 11:15 UTC

Re: ftp download issue

Post by *lneam »

new test with the tcandroidftp249

now the window with transfer progress bar freeze after 18-20 seconds. It has copy 3GB of data
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ftp download issue

Post by *ghisler(Author) »

I have tested with a 3GB file (large ZIP), but had no problems both uploading and downloading it. It could be your vendor-specific Android version putting the plugin in sleep mode after 15-20 seconds. Especially Chinese brand phones like Xiaomi or Huawei are extremely aggressive with app "optimizing". I'm starting a foreground service to prevent that, but it's not sufficient for some devices. Sometimes it helps to turn off the battery optimizer for the Totalcmd-FTP app in Android settings.
Author of Total Commander
https://www.ghisler.com
lneam
Junior Member
Junior Member
Posts: 55
Joined: 2022-08-13, 11:15 UTC

Re: ftp download issue

Post by *lneam »

maybe my device has problem, maybe router has problem, maybe total commander has problem. The only sure is I don't have the answer to this.

what i know so far
- both devices has ALL the battery optimizations at OFF
- both devices advertise that they have almost pure android version

with router No2
last tests with android device No1 shows that when i close the screen, the transfer stops at once. With screen ON, there is no issue
i don't remember with tcandroidftp248 what it was going on. Maybe i haven't test it. I don't remember.

anyway, now i know all the possible combinations of what is going on. I can accept all the file transfer issues but it would be nice if everything worked properly

thanks
Post Reply