File Name Exact Match

Hi all,

My aim is to Check the whether the file is downloaded or not.
I’m using “Path exists activity” in a do while loop. The browser create a temp file while downloading, so the file name was like “***.xls.partial” and the Path name before “.partial” matches the name I put in the Path Exists Activity so it pass the check acitivity. How can I check the Exact Path of the file?

Anyone please help,
Thanks & Regards

You can add one more compound condition to IF.

If path.exists(filename) And Not (path.exists(filename.partial))


Can’t you use File.Exists method?