I am looking for an activity which can help me in checking if a file present in a folder on a remote machine is accessible.
Also kindly suggest me the input pattern for the file path when using the activity. My shared location is \\wb\mis\pcs\shared\eForms\test.txt
Thanks in Advance
There is no such Off the Shelf activity available for this requirement.
You can use ExecuteScript activity to do this.
java.io.File.canRead() method will return TRUE if the file can be read. FALSE otherwise.
Within execute script, you need to escape all backslashes as shown below
Within File Utilities activities, you can directly use the path without escaping the slashes.