Page 1 of 1

Creating or Manipulating a File List or Set

Posted: Thu Jan 26, 2017 9:01 am
by Bbuttler
Hello,

I need a litte help. Folowwing Scenario:
A remote System is generating PDF and XML Files, with the same name (namewithoutextension).
I am only allowed to "get" the PDF File if the partner XML File does exist.

Currently i create a File List containing only the XML Files, then i loop through those files and
manipulate the Name ${Replace(aktxml2, ".xml", ".pdf")}
which is then used as SourceFile (not Variable) this is working.
But its very slow because its just one file at a time.

Is there a way to create or manipulate a File List to be used in the get command ?
I tried a custom row set, which didn't work

Re: Creating or Manipulating a File List or Set

Posted: Thu Jan 26, 2017 9:54 am
by Support_Rick
I would suggest doing a monitor of the server looking for the XML file(s).

Then, have the project perform a get of the XML files and associated PDF files. That way, you're only getting the PDF files that match the XML files.