Are there any file download size/type limits with FileExplorer?

2 posts, 0 answers
  1. Jim Miles
    Jim Miles avatar
    22 posts
    Member since:
    May 2006

    Posted 19 Aug 2010 Link to this post

    Hi,

    Looking to replace a web download system with RadFileExplorer and was wondering if there are any limits on the file size downloaded and what types of files can be downloaded?  I need to be able to download large video files (some over 1GB) and possibly other files (excel, word, text, etc.).  The demos seem to just use images.  My current solution loads the file into memory so it can control the file name and content type to force the download (so it doesn't open in the browser).  But my system doesn't work with loading large files into memory and is not very efficient.

    Please advise,
    -Jim
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 24 Aug 2010 Link to this post

    Hi Jim Miles,

    File downloading is not a feature of the RadFileExplorer control and it does not control it. In your case you need to implement an ASHX handler that will serve the files to the browser and force it to open the file for direct download, not for preview. An example of such ASHX handler is used in this online demo (I have attached the source of the generic Handler to this thread) and I recommend you to use that approach in order to achieve the desired result. Please note that you need to change the MIME type of the file based on the type of the file. More details about the MIME types can be found on this site..

    I hope this helps.

    Best wishes,
    Fiko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top