Page 1 of 1

ftp download issue

Posted: 2024-08-26, 05:50 UTC
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.

Re: ftp download issue

Posted: 2024-08-26, 08:43 UTC
by ghisler(Author)
How big is the file you are trying to download?

Re: ftp download issue

Posted: 2024-08-26, 11:00 UTC
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

Re: ftp download issue

Posted: 2024-08-28, 06:48 UTC
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.

Re: ftp download issue

Posted: 2024-08-28, 09:18 UTC
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

Re: ftp download issue

Posted: 2024-09-08, 11:00 UTC
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

Re: ftp download issue

Posted: 2024-09-09, 15:48 UTC
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.

Re: ftp download issue

Posted: 2024-09-09, 20:19 UTC
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