Tests the existence of files and directories on a Globus resource.
exists = gd_fileexists(host,remotefile)
exists = gd_fileexists(host,remotefile) returns an integer exists indicating whether the file or directory specified by remotefile exists on the Globus server specified by the string host. The argument exists will equal 1 is the file exists on host, otherwise it will equal 0.
result = gd_fileexists('server.domain.com','/home/<USER>/test.dat');
A valid proxy certificate is required to use this function.
Copyright © 2005, The Geodise Project, University of Southampton