Changing the maximum file upload size in SharePoint

Posted Monday, June 30, 2008 12:40 PM by CoreyRoth

The default file upload size in SharePoint is 50 MB.  Sometimes, you may have users that need to upload documents that are larger.  This is quite easy to change.  Simply go to Central Administration -> Web Application General Settings.  Select the Web Application you want to change, and you will see a textbox to specify the maximum upload size.  Before I remembered to look here, I tried changing it the old ASP.NET way, by changing the following line in the web.config.

<httpRuntime maxRequestLength="51200" />

Interestingly, the file size specified here is also 50 MB, but changing it here does not allow you to upload a larger file into a document library.  I also figured I might have to change it to match whatever I had set in SharePoint but you don't.  You can leave it the same and upload a 100 MB file into SharePoint just fine (provided you changed the setting).  So from what I can tell SharePoint does not use this setting at all and it would only apply if you had written a custom upload form using ASP.NET.

Filed under:

Comments

# re: Changing the maximum file upload size in SharePoint

Tuesday, July 27, 2010 1:14 PM by Chris

Is the Central Administration -> Web Application General Settings located on the server box? or can I access it from a non local machine?

# re: Changing the maximum file upload size in SharePoint

Tuesday, July 27, 2010 1:23 PM by CoreyRoth

You can access it from a remote box if you know the URL and port to your central administration site.

# re: Changing the maximum file upload size in SharePoint

Thursday, August 12, 2010 2:48 AM by Jovan

Hi,

I'm looking in changing max upload file size in SharePoint, but I don't want to set up on global level, but rather on site level or even better on list level. I want only for one list to be able to upload files bigger than 50mb. Is this possible?

Best regards,

# re: Changing the maximum file upload size in SharePoint

Thursday, August 12, 2010 8:51 AM by CoreyRoth

Hmm.  I don't think there is anything built-in for that.  You might be able to write an ItemEventReceiver that checked the file size and reacted accordingly but that would be after the file got uploaded.

# re: Changing the maximum file upload size in SharePoint

Friday, March 18, 2011 11:10 AM by Dave Cornall

What you could do is set the global file limit to something higher then use quotas to control the overall size of your sites.

# re: Changing the maximum file upload size in SharePoint

Friday, April 15, 2011 11:03 AM by Nat Anne

thank you Corey, It was helpfull for me.

Regards

# re: Changing the maximum file upload size in SharePoint

Monday, May 30, 2011 4:37 AM by Thomas Trung Vo

Very simple to change maximum upload file size with SharePoint 2010 / Rất đơn giản để thay đổi kích cỡ tối đa của file tải lên với SharePoint 2010  sharepointtaskmaster.blogspot.com/.../very-simple-to-change-maximum-upload.html

Leave a Comment

(required) 
(required) 
(optional)
(required)