Page 1 of 1

FTP (and LAN) errors copying files to SD

Posted: 2019-05-12, 17:57 UTC
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.

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

Posted: 2019-05-13, 14:06 UTC
by ghisler(Author)
How is that card formatted? Normally FAT32-formatterd cards do not support files >4GB.

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

Posted: 2019-05-16, 15:13 UTC
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.

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

Posted: 2019-05-20, 14:09 UTC
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

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

Posted: 2019-06-13, 18:25 UTC
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>

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

Posted: 2019-06-13, 19:17 UTC
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

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

Posted: 2019-06-14, 01:20 UTC
by Usher
2ghisler(Author)
I did write "file systems" NOT "file size". Previous message edited to be more informative.

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

Posted: 2019-06-14, 09:58 UTC
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.

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

Posted: 2019-06-14, 13:05 UTC
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.