this function is used after each download attempt to record the success or failure and the date, for future reference by this script