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 GridFTP server specified by the string host.
from gdcompute import *
exists = gd_fileexists('server.domain.com','/tmp/test.dat')
A valid proxy certificate is required to use this function.
Copyright © 2005, The Geodise Project, University of Southampton