Hi,
I need a test so I can determine whether a url points to a text file or to a
binary file. Actually, I need to distinguish between streaming files and
metafiles (e.g. asx files). I tried getmimetype, but that does not seem te
be reliab;e (dependent on the web server configuration). Can anyone help?
The test should be something like:
get url
if isbinaryfile ($url) {
do what you need to do with streaming files
} else {
do what you need to do with text files
}
Thanks,
André Rosendaal