Monday, May 27, 2013

How To Set File Uplod Limit In SharePoint2010

By Default SharePoint2010 provides 50MB files to be upload to the server. If you want to extend upload size to server then you can do it in two ways.




  1. Through Central Admin: Navigate Central Admin -> Application Management -> Manage Web Application -> Select your web application -> General Setting. It contains Maximum Upload Size. Configure this to set maximum upload file limit. But you have to take care about the maxAllowedContentLength and maxRequestLength from the web.config file. To update web.config its very harmful if any other changes done in web.config so i preferred you use following command to set maximum upload file size.

  2. Using a SharePoint Management Shell: Open SharePoint Management Shell with Admin rights and fire the following command.



stsadm -o setproperty -propertyname max-file-post-size -propertyvalue <max-file-size (MB)> [-url http://server_name]


This command will configure your site as you mention the size in -propertyvalue.

0 comments:

Post a Comment