Creating or Manipulating a File List or Set

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
2 posts Page 1 of 1

Bbuttler

Posts: 1
Joined: Thu Jan 26, 2017 7:49 am

Post by Bbuttler » Thu Jan 26, 2017 9:01 am
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

Support_Rick

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

Post by Support_Rick » Thu Jan 26, 2017 9:54 am
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.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts Page 1 of 1