5 Replies Latest reply on Dec 29, 2017 10:11 AM by trilobite rex

    FTP File Monitoring Help (Powershell)

    zroy21

      I am looking for a script that will monitor file existence, file age, and file size of a backup to a ftp server in our environment. There is a file that gets backed up every hour and I need the script to be able to return the values for name, age, and size. Each backup file has a similar naming convention (ex: FileName_Date/Time). This script should look for the most recent backup file, determine if it is the hourly backup file, and that the size of the file is above 0Kb.

       

      Any help would be greatly appreciated!