How to check if zip file exists in folder or not?

Hi There,

I want to know if zip file exists or not in folder.

I have tried both File exists & Folder exists activities but it is not showing whether file exits or not.

What are other ways to check ?

Thanks

@Muralikrishna_Surve Use this below code,

Var(Boolean type) = Directory.GetFiles(“YourFolderPath”,“*.zip”).Any

Hope this may help you :slight_smile:

2 Likes

Try below method @Muralikrishna_Surve
Method 1
image
Method 2
File.Exists("F:\Arivu\updatedfile.zip")

Regards,
Arivu

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.