Check whether a file downloaded or not

Hi!! I want to download a file from a webpage and then need to send this over an email, can someone let me know , How can I validate whether a file has been downloaded?
Thanks in Advance

@Shivam Once you download your file from the browser it’s going to save in local folder. Then check your folder having file or not if it is having file then send an email and moved your file to another folder.

HI @Shivam

you can use the Path Exists activity to check whether a particular file is available in the download directory. it returns a boolean value. You can decide what to do based on the value it returns later may be by using a IF condition etc.


1 Like


use Path Exist activity

Hi @Shivam

use if condition in File.exist(“your file path”)

1 Like