Issue with downloading files

Discussion in 'ASP.NET 2.0' started by wisemx, Nov 11, 2008.

  1. Hi,
    I'm pasting some code I worked on with Microsoft that does a better job of this.
    You'll have to change the links of course but run it and see if your file troubles are solved.
    This code worked for a very large folder of files, most of them large, many different types.
    Salute,
    Mark


     
  2. I have a gridview on a page where I let users download files by clicking an image link oneach row of thegridview.
    I use the following code to do the download:

    I have a few files that are exe file and are about 37MB in size. When a user clicks the image link for one of thesethey get the browser error that the page cannot be displayed. The smaller files download just fine.

    Does anyone know why this might happen and what I can do different to allow the larger files to download?

    I did check to make sure the files were in the uploads folder.

    Thank you,

     

Share This Page