Matt, per my knowledge, the ls wM service does not allow regEx, but can you try using regEx in the path parameter to check?
If it doesn’t allow it as I suspect, then you can -
-
Get a listing and filter the filenames (regEx) in your flow, before you invoke get to fetch the desired file in a loop
-
I think (theoretically) you can write something similar to executeOSCommand specifically for SFTP with relevant inputs (haven’t tried this for remote execution over SFTP, just brainstorming)
-
Change the design a bit, so that after you download a file, you move it to a “completed” folder on the remote server
These are some I can think of right now.
P.S - You can consider Active Transfer (managed file transfer) if you need an enterprise-grade solution, but it is overkill if you only have a small file integration footprint.
KM
#Integration-Server-and-ESB#webMethods-io-Integration#webMethods