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.
2 posts Page 1 of 1


Posts: 2
Joined: Mon Jun 08, 2015 1:18 pm

Post by dglaser » Tue Oct 20, 2015 10:35 am
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?



Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Tue Oct 20, 2015 11:10 am

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
2 posts Page 1 of 1