FTP (and LAN) errors copying files to SD

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

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 »

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: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

How is that card formatted? Normally FAT32-formatterd cards do not support files >4GB.
Author of Total Commander
https://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 »

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: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

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
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

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.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

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
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

2ghisler(Author)
I did write "file systems" NOT "file size". Previous message edited to be more informative.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

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
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

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.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply