Click here to Skip to main content
15,889,909 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: sort image list Pin
Marc Soleda2-Mar-06 20:08
Marc Soleda2-Mar-06 20:08 
QuestionAccessing Multiple form. ASP Pin
panalprasad28-Feb-06 17:28
panalprasad28-Feb-06 17:28 
AnswerRe: Accessing Multiple form. ASP Pin
Vasudevan Deepak Kumar1-Mar-06 22:58
Vasudevan Deepak Kumar1-Mar-06 22:58 
Questionweird characters returned in xmlhttp object Pin
TofuBug2428-Feb-06 13:05
TofuBug2428-Feb-06 13:05 
AnswerRe: weird characters returned in xmlhttp object Pin
Sushant_Mathur28-Feb-06 19:20
Sushant_Mathur28-Feb-06 19:20 
GeneralRe: weird characters returned in xmlhttp object Pin
TofuBug241-Mar-06 2:18
TofuBug241-Mar-06 2:18 
GeneralRe: weird characters returned in xmlhttp object Pin
Shog91-Mar-06 5:40
sitebuilderShog91-Mar-06 5:40 
QuestionError using Force Download Pin
Andy1227928-Feb-06 10:53
Andy1227928-Feb-06 10:53 
I am using the following code to force download files from a Classic ASP webpage:

<br />
<%@ Language=VBScript %><br />
<%Response.buffer = True<br />
filePath = request("fpath")<br />
fileName = request("fname")<br />
'Response.Write(Server.MapPath(filePath & "/" & filename))<br />
'Response.End<br />
Response.ContentType = "application/asp-unknown"<br />
Response.AddHeader "content-disposition","attachment; filename=" & fileName<br />
Set FStream = Server.CreateObject("ADODB.Stream")<br />
FStream.Open()<br />
FStream.Type = 1<br />
FStream.LoadFromFile(Server.MapPath(filePath & "/" & filename))<br />
Response.Clear<br />
Response.BinaryWrite FStream.Read()<br />
Response.Flush<br />
Response.End<br />
FStream.Close<br />
Set FStream = Nothing<br />
%>


Everything works fine except that when it tries to download a file size over 5 MB I get an error. Can someone tell me, how to not restrict the file size, or set the file size really high. Thanks.

-- modified at 16:53 Tuesday 28th February, 2006
GeneralRe: Error using Force Download Pin
Guffa28-Feb-06 11:12
Guffa28-Feb-06 11:12 
GeneralRe: Error using Force Download Pin
Andy1227928-Feb-06 11:16
Andy1227928-Feb-06 11:16 
AnswerRe: Error using Force Download Pin
Guffa28-Feb-06 11:32
Guffa28-Feb-06 11:32 
GeneralRe: Error using Force Download Pin
Andy122791-Mar-06 3:42
Andy122791-Mar-06 3:42 
GeneralRe: Error using Force Download Pin
Vasudevan Deepak Kumar1-Mar-06 23:12
Vasudevan Deepak Kumar1-Mar-06 23:12 
GeneralRe: Error using Force Download - Solution Pin
Andy122794-Mar-06 17:19
Andy122794-Mar-06 17:19 
QuestionSHOUTcast server and Windows Media Services Pin
Mircea Grelus27-Feb-06 23:25
Mircea Grelus27-Feb-06 23:25 
QuestionWhiteboard in Flash Pin
thefrenzybug27-Feb-06 19:15
thefrenzybug27-Feb-06 19:15 
QuestionHow to use ASP Objects in VB Component Pin
Rajkamal_dfine27-Feb-06 19:03
Rajkamal_dfine27-Feb-06 19:03 
AnswerRe: How to use ASP Objects in VB Component Pin
Vasudevan Deepak Kumar2-Mar-06 1:19
Vasudevan Deepak Kumar2-Mar-06 1:19 
Questionsending email from HTML pages Pin
deepak127-Feb-06 17:26
deepak127-Feb-06 17:26 
AnswerRe: sending email from HTML pages Pin
Sushant_Mathur27-Feb-06 21:04
Sushant_Mathur27-Feb-06 21:04 
AnswerRe: sending email from HTML pages Pin
Sushant_Mathur28-Feb-06 0:29
Sushant_Mathur28-Feb-06 0:29 
GeneralRe: sending email from HTML pages Pin
deepak128-Feb-06 9:45
deepak128-Feb-06 9:45 
AnswerRe: sending email from HTML pages Pin
Sushant_Mathur28-Feb-06 19:24
Sushant_Mathur28-Feb-06 19:24 
GeneralRe: sending email from HTML pages Pin
deepak11-Mar-06 13:01
deepak11-Mar-06 13:01 
AnswerRe: sending email from HTML pages Pin
Sushant_Mathur1-Mar-06 18:53
Sushant_Mathur1-Mar-06 18:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.