SharePoint file size limit

I have tried many online tutorials on how to increase the download file size for a SharePoint document library without any luck.

Any ideas on how to increase the file upload limit in the document library?

I tried:

http://spsstuff.blogspot.com/2006/03/how-to-change-maximum-file-upload-size.html http://www.eggheadcafe.com/software/aspnet/29380049/50mb-upload-limit --help.aspx http://www.msexperts.org/blogs/mark/archive/2008/10/23/increasing-the-maximum-upload-limit-on-a-sharepoint-site.aspx

+6
file upload iis sharepoint
source share
2 answers

I followed the 1st instruction from the 2nd link that you provided:

  • In the SharePoint Central Administration Center 3.0 Application Management tab and the general web application, the settings configure maximum downloads up to 2047 MB ​​in size.

and it worked fine.

Are you sure that when you change the maximum download size you selected the appropriate web application ?

changing the selected Web Application

+7
source share

You can also change the limit in the code.

SPWebApplication oWebApplication = SPWebApplication.Lookup(new Uri("http://MyServer:989")); oWebApplication.MaximumFileSize = 2000; oWebApplication.Update(); 

(example taken from MSDN )

This will probably require administrator credentials ( SPSecurity.RunWithElevatedPrivileges (delegate) . Of course, I would prefer to use the configuration change method mentioned above, @Marek Grzenkowicz

+1
source share

All Articles