FTP (and LAN) errors copying files to SD

Support for Android version of Total Commander

Moderators: sheep, Hacker, Stefan2, white

Post Reply
pandv
Junior Member
Junior Member
Posts: 2
Joined: 2019-05-12, 17:46 UTC

FTP (and LAN) errors copying files to SD

Post by *pandv » 2019-05-12, 17:57 UTC

I observed a courious behavior in your excelent program.

With Total Commander 2.91 in a Samsung Galaxy S8, when I wan't to transfer files (big files: 10 Gb) directly from my PC to the mobile SD, after a variable percent (from 3% to 70%) Total Commander hangs. I can't no cancel the transfer, nor go back, and the mobile is heatting. I only can stop the application from the applications menu in android configuration. This happens with the FTP and the LAN plugin.

If I transfer the files to the internal mobile memory (to the downloads directory for example), there are no problem. There are no problem after, using Total Commander to move the files from the internal memory to the SD.

So I can do the transfer in two steps, but not directly.

Thanks.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38408
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP (and LAN) errors copying files to SD

Post by *ghisler(Author) » 2019-05-13, 14:06 UTC

How is that card formatted? Normally FAT32-formatterd cards do not support files >4GB.
Author of Total Commander
http://www.ghisler.com

pandv
Junior Member
Junior Member
Posts: 2
Joined: 2019-05-12, 17:46 UTC

Re: FTP (and LAN) errors copying files to SD

Post by *pandv » 2019-05-16, 15:13 UTC

It's formated inside the Samsung (I can't select the format). But I supose is FatEx or similar, because it accepts files bigguer than 10 Gb if the origin is the internal memory.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38408
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP (and LAN) errors copying files to SD

Post by *ghisler(Author) » 2019-05-20, 14:09 UTC

It's possible that the connection is lost in the middle of the transfer. The plugins support auto-resume to internal memory, but not to the SD card. Can you check with a log file whether there are any interruptions?
1. Switch to the internal SD card by going to the home folder, and then tap on the first entry in the list
2. Create a new folder named .TotalCommander including the dot at the beginning (if it doesn't exist yet)
3. You may need to enable the display of hidden files in the TC configuration if you cannot see that folder.
4. Go inside this folder .TotalCommander
5. Create a new file named log.txt by holding down a finger on the first line (..)
6. Close Total Commander via "X" button and restart it
Author of Total Commander
http://www.ghisler.com

User avatar
Usher
Power Member
Power Member
Posts: 630
Joined: 2011-03-11, 10:11 UTC

Re: FTP (and LAN) errors copying files to SD

Post by *Usher » 2019-06-13, 18:25 UTC

ghisler(Author) wrote:
2019-05-13, 14:06 UTC
How is that card formatted? Normally FAT32-formatterd cards do not support files >4GB.
Default file systems for (micro)SD cards are standardized as follows:
  • FAT16 up to 2 GiB (SD a.k.a. SDSC)
  • FAT32 up to 32 GiB (SDHC)
  • ExFAT for larger cards (SDXC)
See Wikipedia: https://en.wikipedia.org/wiki/SD_card

<added>File size depends on file system.</added>
Samsung Galaxy S8 seems to have 64 GB card, <added>so it uses ExFAT which supports files with size 4GiB and larger.</added>
Last edited by Usher on 2019-06-14, 01:28 UTC, edited 2 times in total.
Regards from Poland
Andrzej P. Wozniak

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38408
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP (and LAN) errors copying files to SD

Post by *ghisler(Author) » 2019-06-13, 19:17 UTC

That's the overall capacity of the card (all files together).

Here is a citation from Wikipedia for the maximum file size:
"The maximum possible size for a file on a FAT32 volume is 4 GiB minus 1 byte or 4,294,967,295 (232 − 1) bytes."
https://en.wikipedia.org/wiki/File_Allocation_Table#FAT32
Author of Total Commander
http://www.ghisler.com

User avatar
Usher
Power Member
Power Member
Posts: 630
Joined: 2011-03-11, 10:11 UTC

Re: FTP (and LAN) errors copying files to SD

Post by *Usher » 2019-06-14, 01:20 UTC

2ghisler(Author)
I did write "file systems" NOT "file size". Previous message edited to be more informative.
Regards from Poland
Andrzej P. Wozniak

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38408
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP (and LAN) errors copying files to SD

Post by *ghisler(Author) » 2019-06-14, 09:58 UTC

Well, the user asked why his 10GB transfers failed. Here this size of the file system doesn't matter, just the size of that file he tries to transfer.
Author of Total Commander
http://www.ghisler.com

User avatar
Usher
Power Member
Power Member
Posts: 630
Joined: 2011-03-11, 10:11 UTC

Re: FTP (and LAN) errors copying files to SD

Post by *Usher » 2019-06-14, 13:05 UTC

2ghisler(Author)
Where did you get FAT32? Do read more carefully, please.
pandv wrote:
2019-05-12, 17:57 UTC
With Total Commander 2.91 in a Samsung Galaxy S8, when I want to transfer files (big files: 10 Gb) directly from my PC to the mobile SD, after a variable percent (from 3% to 70%) Total Commander hangs.
1. Samsung Galaxy S8 uses 64 GB SDXC card with ExFAT file system. There is NO 4 GiB file size limit there.

2. 3% of 10 GB is 300 MB - much less than 4 GiB file size limit for FAT32 file system; 70% is 7 GB - much more than 4 GiB file size limit for FAT32 file system.
Regards from Poland
Andrzej P. Wozniak

Post Reply