More in this section

Forums / General Discussions / Upload files Problem

Upload files Problem

4 posts, 0 answered
  1. NK
    NK avatar
    82 posts
    Registered:
    15 Apr 2010
    21 Mar 2011
    Link to this post
    Hi,
    I am having problem to upload file, either images or documents, which are larger than 3MB. but the library indicated that it was able to upload to 50 MB. What should I do to make it upload to 50MB? I am using Sitefinity 3.7.

    Please help.


    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    21 Mar 2011
    Link to this post
    Hello NK,

    What is the data storage you use File system or database? If you use database make sure that there are not some server side restrictions related to the max allowed data you may to import on a single request. You can try using the Files provider .
    You could also increase the values of maxRequestLength and maxAllowedContentLength from the project's web.config.

    Greetings,
    Ivan Dimitrov
    the Telerik team
  3. NK
    NK avatar
    82 posts
    Registered:
    15 Apr 2010
    22 Mar 2011
    Link to this post

    Hi Ivan,
    Thank you for replying my question. I am using database to store upload file. As you recommended, I updated the size of maxRequestLength in web.config from 51200 to max 2097151 and uploaded a 5MB file again. It's still not working.

    Would it be something else to be set?


    Thanks,
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    22 Mar 2011
    Link to this post
    Hello NK,

    Try using the files provider to see whether you will be able to upload larger file. It is possible that you reach some SQL limits and the database server is coming not responsive.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
4 posts, 0 answered