I have a log file that is nothing except a list of datestamps (yyyy-mm-dd) that is appended when an sftp action is called nightly and completed successfully.
I have a condition where I need to check to see if a date exists in that file (i.e. was the upload last Tuesday done). So I'm searching for the absence of a value in a file, and I'm totally stumped.
This is being written in Dev C++ as a windows console app.
Any help is appreciated.
Thanks.