Code to download word documents to a Mac via web - MVP?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We are having problems getting a Mac with IE to download Word documents from our web site using the code below. Any tips welcom

Response.Clear(
Response.ContentType = "application/x-unknown
Response.AppendHeader("Content-Disposition", "attachment; filename=" & Chr(34) & oDr(FileNameField) & Chr(34)
Response.BinaryWrite(oDr(FieldName)
Response.End()
 
Try this...

Response.Clear()
Response.ContentType = "application/octet-stream"
Response.AppendHeader("Content-Disposition", "attachment; filename='" &
oDr(FileNameField) & "'")
Response.BinaryWrite(oDr(FieldName))
Response.Flush()
Response.End()

Tim said:
We are having problems getting a Mac with IE to download Word documents
from our web site using the code below. Any tips welcome
Response.Clear()
Response.ContentType = "application/x-unknown"
Response.AppendHeader("Content-Disposition", "attachment;
filename=" & Chr(34) & oDr(FileNameField) & Chr(34))
 
Back
Top