in reply to Re^5: Check multiple file names exist in directory and create another trigger file after existing files processed
in thread Check multiple file names exist in directory and create another trigger file after existing files processed

This *pl file is linked with another *.wsend template which look for the source folder. below is *wsend template details. Thank you!
LocalDirectory: \\Mftshare-dev\cpa\customoutput\hubidp DNICommand: perl test.pl $(LocalFile) $(LocalFileName) SubDirectory: No SuccessAction: move SuccessFile: \\Mftshare-dev\cpa\archive\hubidp\$(LocalFile) +.$(YYYYMMDD).$(HHMMSS) FailureAction: move FailureFile: \\Mftshare-dev\cpa\failure\hubidp\$(LocalFile) +.$(YYYYMMDD).$(HHMMSS) NetworkErrorAction: move NetworkErrorFile: \\Mftshare-dev\cpa\failure\hubidp\$(LocalFile) +.$(YYYYMMDD).$(HHMMSS) ScanInterval: 10s AutoEnable: Yes LeaveFileName: .\leave\leavefile.CPAtoHUBIDP1 PostActionFail: Leave AuditDirectory: .\Audit\CPAtoHUBIDP1
  • Comment on Re^6: Check multiple file names exist in directory and create another trigger file after existing files processed
  • Download Code