Yasir
2 years agoNew Contributor
How to verify a downloaded file with dynamic File name
I have to verify a downloaded file but some part of the file name keeps on changing while the other part remains constant.(eg Test1534. Test5462, Test5363) Your help on this would be appreciated...
- 2 years ago
Did you see the method FindFiles, which searches a folder for files matching the specified pattern?
You need to write a function to retrieve a list of files matching your pattern. The file with the latest date, implies it's the latest downloaded file.