Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
VKDD

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.