Salve a tutti
ho un problema con il download:
Ho questo script che funziona perfettamente:
codice:
<%
Dim objStream, strFileName
strFileName = Request.QueryString("file")
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Type = 1 ' adTypeBinary
objStream.Open
' objStream.LoadFromFile Server.MapPath("public/" & strFileName)
objStream.LoadFromFile Server.MapPath("public/" & strFileName)
' Istruiamo il browser sul tipo di file
Response.AddHeader "Content-Disposition", "attachment; filename=" & strFileName
Response.ContentType = "application/octet-stream"
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
%>
L'unico problema è che non mi fa fare il download di file sopra i 3,5 mb che devo fare???