I want to implement the current reload of certain files. I suppose you can somehow read the last modified file time. This can be compared to the past when I downloaded this file. I would keep the latter in mind.
How do I know if a file has been modified since a certain time? The solution should work on Windows, Mac, and Linux.
Update: it seems my question raised some misinterpretations. To understand, clearly, I ask if the file was altered altogether. Using the last modified time was what first occurred to me, but I am open to any other solution! Unfortunately, I cannot afford to open each file and compare its contents, since we are talking about all the textures of a video game.
source share