in 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 = [..Administration.SPWebService]::ContentService
$ws.ClientRequestServiceSettings.MaxReceivedMessageSize = 10485769
$ws.ClientRequestServiceSettings.MaxParseMessageSize = 10485769

Note : stop timer service before executing above script


您的电子邮箱地址不会被公开。 必填项已用*标注