I have a very special issue. I have a website that downloads a file. I cannot choose the path. And the name of the file is always generated.
In my process I need to wait for that file to continue. But sometimes the download takes 1 second. Sometimes it can take up to 50 seconds. I do not want to always wait 50 seconds with for example a large timeout.
So I was thinking about using the Monitor Event File Change Trigger:
This could work. But as I said I don’t know the exact name of the file.
This is super tricky. I know how to read files from a directory. But I never know when the file has been downloaded.
And another bad thing is. When I use the File Change Trigger, the first file that is downloaded is a “…tmp” file! So I additionally need to check for a file with “.xml” extention.
So is there anything else I could do here? Maybe combine some activities?
What would work for me is the File Change Trigger that is only triggered on the .xml file.