TC Android v2.80b3 date/time wrong on copied files

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
johnstonf
Junior Member
Junior Member
Posts: 76
Joined: 2004-04-10, 20:30 UTC

TC Android v2.80b3 date/time wrong on copied files

Post by *johnstonf »

When I insert an OTG usb key, and copy files to the OTG usb key, it puts the CURRENT date/time rather than KEEPING the original date/time. The key is a SanDisk 32GB convertible.

Is there an option i need to set, or is this a bug?

If I copy files to my NAS via LAN share, it keeps original time and date.

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

Post by *ghisler(Author) »

Android does not support preserving/setting the time, it has been a bug for AGES.

Here are the relevant bug reports in the Android bug tracker:

File setLastModified always returns false
https://code.google.com/p/android/issues/detail?id=1992

setLastModified() always fails on Xoom unless running as root
https://code.google.com/p/android/issues/detail?id=18624

File.setLastModified() always returns false on Samsung Galaxy Nexus
https://code.google.com/p/android/issues/detail?id=25460

Sending the time via LAN works fine because the target isn't on Android itself.
Author of Total Commander
https://www.ghisler.com
johnstonf
Junior Member
Junior Member
Posts: 76
Joined: 2004-04-10, 20:30 UTC

Post by *johnstonf »

OH WOW! Too bad!
Thanks!
Post Reply