Skip to content

Create Monitor to watch for filename yyyymmdd.csv

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
  • dglaser Offline
  • Posts: 2
  • Joined: Mon Jun 08, 2015 1:18 pm

Create Monitor to watch for filename yyyymmdd.csv

Post by dglaser »

I am trying to create my first Monitor using GoAnywhere Director 4.6.1. I would like to monitor a directory for the filename yyyymmdd.csv using today's date. When I enter ${CurrentDate('MMddyyyy')}.csv as my File Name Pattern, it does not recognize this as a variable. How can I get this to monitor for this file name and then launch a project when found?

Thanks,
Drew
  • Support_Rick Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

Re: Create Monitor to watch for filename yyyymmdd.csv

Post by Support_Rick »

Drew,

The monitor is designed to look for generic file patterns. The variables defined inside of your Project Workflows do not work inside the Monitor file patterns.

To accommodate this, you would monitor for something like "*.csv". Have this kick off your project passing it the files it finds. Then, you could loop through the files found and select the ones that contain "${CurrentDate('MMddyyyy')}" in the file name... ignoring the others.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Post Reply