I have a job that retrieves log files from an FTP site, then restores them into a local database.
The issue I am having is if a log file is empty, the restore aborts and I have to remove the empty log file from the directory. Then restart the process.
Is there anything I can run that will let me know that the logfile is empty so I can automate this process?