Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Large File UploadsLarge File Uploads
Previous
 
Next
New Post
5/26/2007 11:53 AM
 

We keep seeing this question and from my understanding increasing the web.config settings whilst allowing larger uploads also result in greater RAM usage on the server as the current process puts the uploading file into ram before writing it to disk.

Maybe, the file uploading functionality is a candidate to be broken out as a provider so other mechanisms can also be used that might handle the large file sizes?

Thoughts?

Antony

 
New Post
5/27/2007 12:38 AM
 

Exellent, Thank you very much!

I will give it a try..

 
New Post
5/27/2007 1:06 AM
 

sfabian@gooddogs.com wrote

there are no settings in the Repository that restrict upload size. Maximum upload size is defined in the web.config for the entire site.

Look in your web.config file and you'll see a section like this...

  
  

 The default values allow for a max of 8MB upload. There is also another parameter that indicates the time-out value. Since it's not set in the default web.config that ships with DotNetNuke, the IIS default of 90 seconds will apply.

So, to allow large uploads (let's say for example 50MB), you have to bump up the maxRequestLength value and add an executionTimeout value, like this...

  
  

That would allow 50MB uploads and IIS would wait 5 minutes before timing out.

That worked!

Now the only issue I have is that after my 50 MB PDF was uploaded, I can't see it in DNN..

Physically it is on the server, but I can't see it through DNN..

Any thoughts?

Thanks again..

 
New Post
5/27/2007 3:14 AM
 

Dnn natively (like any asp.net app) does not support large file upload; you can modify web.config but you will have a lot of problems on ram consumption, client timeouts, and so on.

We have spent very long time in studing all the various technical solutions for large file upload particularly for avoiding timeout on client browser and for avoiding server ram usage.

Our conclusion was that we need third party components like NeatUpload (free) or Telerik Upload; we used NeatUpload but it's very nice and powerful also Telerik.

We have developed a DNN PA module for our customers that is bases on database blob field for storing files and you can virtually upload up to 2 GB files as single file (I never tried upload bigger than 200Mb).

If you want to have a look to our module go here:
http://www.internetdisc.it (sorry it has only italian language), to log in use these username: demoInternetDisc   password: demo; quota for demo is limited to 500Kb
To upload you must have pop-up enabled, then click on any folder on the left tree and then click on the blue-arrow icon. It will open a popup where you can browse your file, you can insert an email address which receive a message when upload is finished and an upload progress bar.

So my contribution is: yes, it is possible to upload large files in dnn but actually we need third party components; so for DNN future development strategy a large-file-upload provider would be a great idea.

Anyway, if someone is interested in building a file manager I suggest to start having a look at Telerik open source projects. They have built a file manager example using Telerik components; it's very interesting because it saves files on phisical file system and has large upload functionality (and if I remember it uses also ajax).
It should be very easy to convert it to a DNN module.

bye
Luca


siti internet in provincia di cuneo torino savona asti
Siti e applicazioni Web
 
New Post
5/29/2007 1:17 PM
 

I'd like to say that after using sfabian's instructions everything is working for me in regards to the repository.

To overcome the "sometimes visible" files in the repository, try switching the skins in the repository settings.

Setting them back to default made everything work.

I am able to have uploads up to 100MB with no issues after using sfabian's advice.

I do not have any RAM or CPU issues on the server either.

Thanks again!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Large File UploadsLarge File Uploads


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out