i cann't download the files of huge size by using ASP script

Discussion in 'C#' started by inderkumar, Jul 15, 2008.

  1. #1
    i can't download the files have large size. I also made the script Server.ScriptTimeout too large.i got the files upto 3MB to be downloadable. Files have size more of it gives rise The pages can't be dispalyed without giving any Error about it..generaaly, we have the files of size more than 70MB. i also made buffer flush (Response.Buffer = False). Anybody can help me????
     
    inderkumar, Jul 15, 2008 IP
  2. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #2
    why dont you redirect to the file and dont try to get it for download?
     
    ludwig, Jul 16, 2008 IP
  3. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #3
    I am not sure I understand the question; shall I assume that you are opening the file and returning the contents to the client in a multi-part response? If so, the client times out and you are trying to buffer the response. Is there a reason you do not provide the link to the download file?
     
    Social.Network, Jul 17, 2008 IP
  4. artivity

    artivity Guest

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Could be trying to avoid hotlinking?
     
    artivity, Jul 23, 2008 IP