首页 > Web开发 > 详细

SharePoint 设置客户端上传文件大小

时间:2018-01-31 10:52:29      阅读:265      评论:0      收藏:0      [点我收藏+]

in sharepoint 2013, 2016 , there is a limitatoin on the size of the uploading files , default size for uploading documents through CSOM is 2 MB, but you can overcome this limitation by using the following PS script to set a higher limit


$ws = [Microsoft.SharePoint.Administration.SPWebService]::ContentService 
$ws.ClientRequestServiceSettings.MaxReceivedMessageSize = 10485769 
$ws.ClientRequestServiceSettings.MaxParseMessageSize  = 10485769 
$ws.Update()

Note : stop sharepoint timer service before executing above script

SharePoint 设置客户端上传文件大小

原文:https://www.cnblogs.com/jianyus/p/8390673.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!