Checks whether a file exists on the server.
public bool FileExists(string remoteFile);
Public Function FileExists(ByVal RemoteFile As String) As Boolean
Use this method to check if a RemoteFile exists on the server.