User Tools

Site Tools


xplore:copy_file_time

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

xplore:copy_file_time [2018/12/30 22:40]
xplore:copy_file_time [2019/07/16 20:26] (current)
Line 1: Line 1:
 +===== Not keeping file's time after copying =====
 +
 +X-plore shows file's last modification time, but it can't set it when copying file from elsewhere.
 +
 +This would be desirable to retain file's last modification time when copying it, and it's not that X-plore would forget about it. It's just not working on Android's internal memory or memory card.
 +
 +You can verify that by using other file managers, they have same problem.
 +
 +
 +==== Reason ====
 +
 +This is actually bug inside of Android, which was not fixed for years, reported [[https://issuetracker.google.com/issues/36930892|here]] and [[https://issuetracker.google.com/issues/36940415|here]] and elsewhere.
 +
 +
 +==== Solution ====
 +
 +One solution that X-plore uses is utilizing Root mode and set modify date from there after copying file. It works on rooted devices if X-plore is allowed to use root mode.
 +Besides that, there is no fix for this.
 +
 +==== Update ====
 +
 +Problem seems to be fixed with Android 8 and newer.