But when I watched this, the device, filename, and dest changed with each power cycle; whether the file was updated or not.
I could watch the filesize and see if it changes. This would capture some of the times that the customer made changes. Unfortunately, it is quite likely that the changed file will be the same size.
“husFileIO” is something someone else implemented, nothing provided by B&R.
That being said, I see “FOpen” and “FCreate” in there already, so chances are you find an instance of FileInfo as well.
This FUB provides you with data of type fiFILE_INFO and that contains modTime (modification time) - that should do it. Cyclically check for changes there and you have what you need
Yes. FileInfo shows the modification time for the file when I download it via FTP. So I’ll have to periodically check to see if the file has changed. Thanks for the insight.