Page 1 of 1

FTP monitor filename patterns

Posted: Fri Jun 23, 2017 11:39 am
by wbocsean
The product is amazing and I have had no issues with any of the features working as expected.

I am however having a hard time setting up FTP Monitors. I need to monitor a folder for files that match a naming pattern. For example Monday's file names are ABC110A.mxf, ABC110B.mxf & ABC110C.mxf. Tuesday's file names are ABC111A.mxf, ABC111B.mxf & ABC111C.mxf. I want to schedule the Workflow to execute once per day and locate files matching the naming convention above that are modified on the current date.

In the accept files field for the A block I have: *A.mxf which is part of what's needed. I suspect a date statement can be added that references the current date but this is where I am stuck. As it stands now all files matching *A.mxf will be processed regardless of date.

Any help would be much appreciated.

Thanks, Sean

Re: FTP monitor filename patterns

Posted: Sat Jun 24, 2017 6:32 pm
by admin
Hi Sean, thank you for using FFAStrans and welcome to the forum! :-)

You request is bit tricky. The way I understand it you would like to look for files called f.ex. ABC11%week_day%*.mxf if %week_day% could represent week days monday to sunday as the number 0 to 6? Is that correct? You also write about current date, but do you mean current day?

FFAStrans has a variable (%w_day%) for week days representing sunday to saturday as 1-7, but that would not suit your naming convention.

-steinar