sdcard2 not writable on Tablet

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

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

Re: sdcard2 not writable on Tablet

Post by *ghisler(Author) »

This is currently not supported, but should be doable in principle. It will be hard to implement because I don't currently have any pre 4.4 devices with SD Card slot. :(
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: sdcard2 not writable on Tablet

Post by *DrShark »

DrShark wrote: 2019-03-19, 11:46 UTCOn TC4A 3.0 beta 3 creation of new text file (also UTF-8) works fine on my Android 4.3.1 device, thanks for this fix!
ghisler(Author) wrote: 2019-03-20, 08:44 UTC Great, thanks for letting me know! Indeed I'm calling the special sd-card function I use when copying files (but don't write to the file) when the function via File API fails.
I just found that new file creation also works on external SD Card of Android 4.3.1 device even if its path starts with /extsd/*, while other write operations, like save file in TC Editor/Copy/Move only work if its path starts as /storage/extsd/* (that's how it looks in Home folder). I think it's a sign that it's possible to do all the write operations for it if its path starts with /extsd/*.
(archive creation still doesn't work on external SD no matter how its path starts).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: sdcard2 not writable on Tablet

Post by *DrShark »

In addition, the "Resume" functions, which appears in Overwrite dialog when e.g. copying/downloading a file from WebDAV plugin, doesn't work if to copy some file from plugin to external SD of Android 4.3.1 device, even if extsd path is /storage/extsd/, where most of TC's write operations work fine.
So if copying from plugin to /storage/extsd/ goes fine, the file appears in /storage/extsd/.
If Resume is required, on try to use it, immediately error happens:

Code: Select all

---------------------------
Cannot copy or move file!
---------------------------
///WebDAV/AndroidDeviceName/dir/file.ext
---------------------------
Cancel   OK   
---------------------------
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply