[9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
Moderators: white, Hacker, petermad, Stefan2
[9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
Tested in 9.50β10 32- and 64-bit.
1. Go to Settings - Copy/Delete, untick the "Use standard copy method" checkbox. (Optionally, you can switch to "Also use big file copy mode".)
2. Try to copy a file >4 Gb to a FAT32 drive.
3. Instead of showing the new message about being unable to copy such large files, TC starts copying, and when 4 Gb is reached, it displayes the gold old "Disk is full".
In standard copy mode the new message is displayed, and copying does not even start, which is the correct behavior.
1. Go to Settings - Copy/Delete, untick the "Use standard copy method" checkbox. (Optionally, you can switch to "Also use big file copy mode".)
2. Try to copy a file >4 Gb to a FAT32 drive.
3. Instead of showing the new message about being unable to copy such large files, TC starts copying, and when 4 Gb is reached, it displayes the gold old "Disk is full".
In standard copy mode the new message is displayed, and copying does not even start, which is the correct behavior.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 48077
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
This is intentional and will not be changed. Why? There is no reliable way to determine whether a drive supports files >4GB or not. Some Linux network drives report themselves as FAT32, some as NTFS, although they are neither and may or may not support files >4GB. When using the default copy method, CopyFileEx will fail immediately if the file is too big for the file system. This doesn't happen when copying with ReaFile/WriteFile.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
Why not allocate space first, and copy data later? Then it would fail early.
Actually, I thought TC already did that. Or was it just the CopyFileEx behavior? It's worth adding to other modes, because it also helps to keep fragmentation at lower level when copying many things in parallel.
Actually, I thought TC already did that. Or was it just the CopyFileEx behavior? It's worth adding to other modes, because it also helps to keep fragmentation at lower level when copying many things in parallel.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
Re: [9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
Maybe add user defined list for drives always using standard copy method?
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 48077
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
I already do this. But it's not a reliable way to determine that the drive cannot hold the entire file: The user may delete large files while copying the new file.Why not allocate space first, and copy data later?
Just for a changed error message? That would be overkill, sorry.Maybe add user defined list for drives always using standard copy method?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
Even if such info is not reliable, at least for "FAT32" drives the dialog with message like "Tagret filesystem detected as FAT32, copying files over 4 Gb may fail. Are you sure to continue? Yes / No"' with ReadFile/WriteFile method will be a time-saver for user.ghisler(Author) wrote: ↑2019-12-29, 07:50 UTCThere is no reliable way to determine whether a drive supports files >4GB or not. Some Linux network drives report themselves as FAT32, some as NTFS, although they are neither and may or may not support files >4GB.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: [9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
For more flexible drive management. I want to decide for which drive standard copy method is used. Or maybe "standard copy method" is the same as "compatibility mode"?ghisler(Author) wrote: ↑2019-12-30, 07:51 UTCJust for a changed error message? That would be overkill, sorry.Maybe add user defined list for drives always using standard copy method?
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: [9.50] FAT32 message for 4Gb+ files not displayed with custom copy methods
Usher,
Roman
Yup."standard copy method" is the same as "compatibility mode"
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.