Tag Info

New answers tagged

0

You can use /checkin(comment='Check-in comment.',checkintype=0) OR /publish(comment='Check-in comment for the publish operation.') OR approve(comment='Check-in comment for the approval.') For example: _api/web/getfolderbyserverrelativeurl('{0}')/files/add(overwrite=true,url='{1}')/publish(comment='Check-in comment for the publish operation.') More ...


-1

Use the REST api or custom web part of file upload for upload the large file


0

Have you tried upload using this code? ClientContext context = new ClientContext("URL of the site collection"); Web oWeb = context.Web; FileCreationInformation oFile = new FileCreationInformation(); oFile.Content = System.IO.File.ReadAllBytes(@"C:\Work\Files\17580_FAST2010_S05_Administration.pptx"); oFile.Url = "File_To_Be_Uploaded_to_SP.mp4"; List docs = ...


0

Try copying the file to another folder or giving it another name and upload again.


1

SharePoint CSOM request size is very limited and it cannot excess 2 MB limit and you cannot change this setting in Office 365 environment. So if you have to upload bigger files you have to use REST API. Here is MSDN reference https://msdn.microsoft.com/en-us/library/office/dn292553.aspx


1

Not to resurrect an old thread but I thought I would add my regex. One issue from KB905231 it is not clear if the prohibited file suffixes (i.e. .files or _files, etc.) are including or excluding the file extension. I assumed including so foo.doc.files would not match but foo.files.doc would. ...



Top 50 recent answers are included