I could not find a way to modify the file modification time-stamp of files in libctru for the 3DS.
I assume it is not implemented or possible but wanted to double check here just in case.
My use-case is file-synchronization between a PC or other devices via network/web file transfer.
When a 3DS app transfers an old external file to the SD-card then the code logic would incorrectly detect the file being newer than the original one on the PC (or source location).
Changing file modification date
Changing file modification date
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Changing file modification date
From what we can determine the only way you can update the timestamp is by actually writing to the file and even then you can only change the timestamp to "now". We haven't found a way to set timestamps to arbitrary values, sorry.
Re: Changing file modification date
No worries. I plan to "outsource" the file dates as meta data to work around it.
Who is online
Users browsing this forum: No registered users and 1 guest