Check File Exist FTP with dynamic value

Hi all,

How to use File Exists activity in FTP server without specifying the exact file name?

For example I have this file path in my FTP server.
e.g. /Folder Complete/Customer Details_12092020.txt

I try to use wildcard on the date part but it doesn’t work. It will always return the file not exist
e.g. /Folder Complete/Customer Details_*.txt

Any help will be much appreciated.

You could try it with Dir() or GetFiles()

If using this can I put a dynamic value?

Of course.

image