I have a use case where I download files into download folder. These files get downloaded with names like “Intra_Day_Pattern_1690279960498” and “Intra_Day_Pattern_1690279701317”
My entire steps are, read the latest one downloaded, do some actions on this excel (consider only read for hypothetical example) once done, delete it and perform this action again after like 2 hours (this can be done by scheduling which is fine)
in the downloaded file “Intra_Day_Pattern_” is common and what changes is the number in the file name which increases every time I download.
I am not sure how to read this file. Is it possible to read it like the file name which stats with “Intra_Day_Pattern” and later delete it so that when I download again there will be only one file with that name. Or any other method.
If you are downloading this using a browser in the settings of chrome etc you can set it to ask you where you want to download the file and what you want to save it to then you can set it to a static name every time
Yes, If your file startes with Intra_Day_Pattern_ then you can read any file that starts with Intra_Day_Pattern_ by using an asterisk Intra_Day_Pattern_* then use a “delete file activity”