L'oggetto XMLHTTP permette di "leggere" il codice client di pagine (e file) remoti.
Una delle proprietà di questo oggetto si chiama status il quale permette di sapere se il file remoto chiamato è disponibile o meno.
codice:
<%
url = "http://www.pippo.com/cartella/file.js"
set xmlhttp = server.createObject("Microsoft.XMLHTTP")
xmlhttp.open url, false
iStatus = xmlhttp.status
if isNumeric(iStatus) then iStatus = cLng(iStatus)
if iStatus = 200 then
%>
<script type="text/javascript" scr="<%=url%>"></script>
<%
end if
set xmlhttp = nothing
%>