I'm having problems when I download files bigger than 5mb (until 10mb this is the limit by me).
I just got a 0 byte file. It's like the file is empty, BTW, the file is uploaded correctly on the db. Checked that using the tsql datalength()
This is my code:
<%
Response.Buffer = false
ssql = "select name, filestore from files where id=" & request("idfile")
Set oRs = Server.CreateObject("ADODB.Recordset")
oRs.Open ssql, Application("myConn")
If Not ors.EOF Then
Response.AddHeader "Content-Disposition", "filename=""" & ors("Name") & """"
Response.ContentType = "application/unknown"
Response.BinaryWrite oRs("filestore")
Response.end
End If
ors.Close
Set ors = nothing %>
Any Idea???