J
JackRabbit
Hello all,
I created a cheap download script to download files. It works great on
almost ever user we have, except for a few. I think there is some type of
configuration problem on the server or browser, but I wanted to check with
you guys first.
Here is the script.
Set objXML = Server.CreateObject("Microsoft.XMLHTTP")
objXML.Open "GET", FilePath, False
objXML.Send
'// SafeFullFileName is the file we are downloading. We check to be sure
it exists, right format, etc.
Response.AddHeader "content-disposition","attachment;filename=" &
SafeFullFileName
Response.ContentType = "application/" & SafeFullFileName
Response.BinaryWrite objXml.ResponseBody
Set objXml = Nothing
Thanks for the help.
cross posted at microsoft.public.scripting.vbscript
I created a cheap download script to download files. It works great on
almost ever user we have, except for a few. I think there is some type of
configuration problem on the server or browser, but I wanted to check with
you guys first.
Here is the script.
Set objXML = Server.CreateObject("Microsoft.XMLHTTP")
objXML.Open "GET", FilePath, False
objXML.Send
'// SafeFullFileName is the file we are downloading. We check to be sure
it exists, right format, etc.
Response.AddHeader "content-disposition","attachment;filename=" &
SafeFullFileName
Response.ContentType = "application/" & SafeFullFileName
Response.BinaryWrite objXml.ResponseBody
Set objXml = Nothing
Thanks for the help.
cross posted at microsoft.public.scripting.vbscript