I have a function that I'm using to download images. I need to edit the URL so I try and get the large verion of the image URL I have. In some cases the largerURL is doesn't exists and I get an XML file returning an error.
Is it possible to check objBinaryStream.Write objXMLHTTP.responseBody to see if it's an image or an xml file?
If so how would I go about it? If not how can I cater for this problem?