Wednesday, May 21, 2014

Increase Maximum File Upload Size in SharePoint 2013

SharePoint 2013's default file upload size is 250 MB! To upload large files you have to change "Maximum Upload Size" setting in SharePoint 2013 Central administration site.

How to increase file upload size in SharePoint 2013?
Maximum upload size setting is configured per web application. To change maximum upload size in SharePoint 2013, do the following:

  • Browse to SharePoint 2013 Central Administration site
  • Navigate to Application Management >>Manage Web Applications 
  • Select your web application and click on Web Application General Settings in the ribbon
    sharepoint 2013 maximum file upload size
  • In the web application general settings page, you can set the "Maximum Upload Size" value to the value you desire (Say, you want to increase upload size to 500 MB!) and hit OK to save your changes.
    sharepoint 2013 upload size limit
This changes maximum upload size in SharePoint 2013. You can specify the maximum value up to 2 gigabytes (or 2047 megabytes as specified in Central Administration). 
In my SharePoint 2013- Windows Server 2012 R2 environment, This is the only change I've made to add support for large files. No more web.config edits, IIS changes! Just a Central Admin change worked fine!!

Set maximum upload file size in SharePoint 2013 using PowerShell:
SharePoint 2013 maximum upload file size can be set using PowerShell also. Here is how:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

Function Set-MaxFileUploadSize($WebAppURL, $Size)
    #Get the web applicatiin 
    $WebApp =  Get-SPWebApplication | where {$_.url -eq $WebAppURL }

        #Increase Maxium File upload size
        $WebApp.MaximumFileSize = $Size
        write-host "Maximum File Upload Size has been updated to $($Size) MB!" -ForegroundColor Green
        write-host "Could not find a web application with URL: $($WebAppURL)" -ForegroundColor red

 #Call the function to set max file upload size
 Set-MaxFileUploadSize "" "500"

In some cases, You may have to adjust timeout, MaxRequestLength values in IIS and Web.config files. Here is the Microsoft KB article addressing this issue along with workarounds:

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.

Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...