D
Ducati
I am not sure I am in the right group, but I could not find one for VBscript.
I am trying to create a VBS that can validate if a stream is available
online. I know how to test if a URL is valid with something like that:
Set Shell = CreateObject( "WScript.Shell" )
dim strURL
strURL = "http://www.msn.com/"
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
objHTTP.open "HEAD", strURL, false
objHTTP.send
Wscript.Echo(objHTTP.Status)
But the URL for the stream I need to validate is in the following form:
mms://................/file.wmv
If I try the above script on such a url, it returns a syntax error
Any idea on what procedure I could use to validate if such a streaming url
is valid (if the file exists)?
Thanks
I am trying to create a VBS that can validate if a stream is available
online. I know how to test if a URL is valid with something like that:
Set Shell = CreateObject( "WScript.Shell" )
dim strURL
strURL = "http://www.msn.com/"
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
objHTTP.open "HEAD", strURL, false
objHTTP.send
Wscript.Echo(objHTTP.Status)
But the URL for the stream I need to validate is in the following form:
mms://................/file.wmv
If I try the above script on such a url, it returns a syntax error
Any idea on what procedure I could use to validate if such a streaming url
is valid (if the file exists)?
Thanks