This is a migrated thread and some comments may be shown as answers.

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

1 Answer 147 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Jim Miles
Top achievements
Rank 1
Jim Miles asked on 19 Aug 2010, 04:44 PM
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

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 24 Aug 2010, 01:20 PM
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
Tags
FileExplorer
Asked by
Jim Miles
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or