check if file exists at the remote path using wild card

Advertisement

VKDD
Joined:
Posts:
1
Location:
United States

check if file exists at the remote path using wild card

I was able to use session.FileExists using a specific file name in the remote path (/test/abc.zip), but, when I changed the file name to a wild card (/test/*.zip) it gives fileExists = false, even though a zip file exists in the folder.

How can I use wild card to see if file exists in that folder. Based on that I want to redirect the flow of my application.

Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: check if file exists at the remote path using wild card

Session.FileExists accepts only full path to a single file/directory, no masks.

Reply with quote

Advertisement

You can post new topics in this forum