Dear All,
I've built a simple upload/download utility in ASP/MSAccess. It works great except that I occasionally download files to a Mac (OS 9.2).
The Mac will not recognize the file type. I know very little about the Mac resource fork but I suspect I'm screwing it up. I've tried several browsers with basically the same results (Netscape, IE, Opera)
I've seen other posts with the same issue in the archives, but no acceptable solutions.
I'm including "datafile.asp" which writes the file to client browser

Thanks much in advance for any ideas,

Dim oConn
Dim oRs
Dim sSQL
Dim nFileID

nFileID = Request.QueryString("FileID")

If Not nFileID = "" And IsNumeric(nFileID) Then

Set oConn = Server.CreateObject("ADODB.Connection")
Set oRs = Server.CreateObject("ADODB.Recordset")

oConn.Open "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("./") & "\Upload.mdb"

sSQL = "SELECT FileName, ContentType, BinaryData FROM Files WHERE FileID = " & Request.QueryString("FileID")

oRs.Open sSQL, oConn, 3, 3

If Not oRs.EOF Then
Response.ContentType = oRs("ContentType")
Response.AddHeader "Content-Disposition", "attachment;filename=""" & oRs("FileName") & """"
Response.BinaryWrite oRs(2)
Response.Write("File could not be found")
End If


Set oRs = Nothing
Set oConn = Nothing
Response.Write("File could not be found")
End If