I've always just coded the retrieval of a small file, and if it doesn'texist, I know there is no connection.