none
increazing file size limit for Sharepoint 2013 online for uploading files through sharepoint web service RRS feed

  • Question

  • Hi all,

    We have Office 365 E3 license. and we need increase file size limit for uploading files through sharepoint 2013 online web service

    this task is making me crazy, I really need help with it.

    I installed SharePoint Online Power Shell for changing this value. I found script which can change file size limit by I receive error

    but I received error: "Microsoft.Sharepoint.PowerShell is not installed on this computer"
     

    what I do wrong ? Please help me !!!!!!!!!!!!!!!!

    it is script which I try to use in power shell

    ---------------------------------------------

    Connect-SPOService -Url https://xxxxxxx-admin.sharepoint.com
    -credential Admin@
    xxxxxxx.microsoftonline.com
    get-PSSnapin -Registered
    Add-PSSnapin
    Microsoft.SharePoint.Powershell
    $s =
    [Microsoft.SharePoint.Administration.SPWebService]::ContentService

    $s.ClientRequestServiceSettings.MaxReceivedMessageSize = 139715200

    $s.ClientRequestServiceSettings.MaxParseMessageSize = 139715200

    $s.Update() 
    Disconnect-SPOService

    Tuesday, July 14, 2015 11:44 AM

Answers

  • Take a look at this post. It has strategies for uploading "large" documents (large being ~3MB).

    http://sharepointfieldnotes.blogspot.com/2014/07/uploading-large-documents-into.html

    http://justgeeks.blogspot.com/2013/03/uploading-large-files-to-sharepoint.html


    Trevor Seward

            

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Tuesday, July 14, 2015 4:01 PM
    Moderator

All replies

  • That's using a mixture of SharePoint admin and SPO (SharePoint Online) code. They are superficially similar but at this time they are very different things. You won't be able to run that with SharePoint online. In particular anything that uses $s will not work as that's an on-premise object.
    Tuesday, July 14, 2015 12:04 PM
  • I don't think you can adjust that size for SharePoint Online.  Web service settings would apply to the whole server,not to a single client.  You can only make changes that apply to a tenant in SharePoint Online.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Tuesday, July 14, 2015 12:07 PM
  • Thanks for the quick response.

    but how I can change this File Size Limit ?

    can I change it through sharepoint online PowerShell ?

    or I should take other way ?

    we have site on sharepoint 2013 and uploading some text info and files from local app. through sharepoint web service.

    this app. uses framework 4.5

    Tuesday, July 14, 2015 12:27 PM
  • That's the point.  You can change this file limit in an on-premises environment, but not in SharePoint Online where its a setting shared by all the tenants.  You can't change it in SharePoint Online.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Tuesday, July 14, 2015 12:42 PM
  • I agree with everything Paul's said (unsurprisingly).

    To follow on: It's best if you called your site SharePoint Online or Office 365 (Best) as it stops a lot of the confusion.

    These days you should consider using a SPOMigration object to move the data over. It is likely to be faster and work better than trying to build your own import tool.

    https://technet.microsoft.com/en-us/library/mt210445.aspx

    If not then i think there's some stuff in the Office 365 Patterns and Practices project that makes data migrations a lot easier.

    Tuesday, July 14, 2015 12:49 PM
  • ohhh ......

    but we have Office 365 E3 license and using SharePoint 2013 online service and really need increase this property.

    unfortunately we can`t get direct access for on-premises environment of sharepoint online service

    can you explain way how I can change file size property remotely ?

    thank you for the response.

    Tuesday, July 14, 2015 12:50 PM
  • As Paul said, that's probably not something you can change. Why do you want to change it and how large are you thinking of changing it to?
    Tuesday, July 14, 2015 1:01 PM
  • now limit size is 2.047

    but some time we need upload files more lager

    7.000 will be good for us

    we can upload big files through browser but we have program which can put file into definite place of our site and managers can upload files from definite place of site.

    this program (C#) uses framework 4.5 and Microsoft.Sharepoint.Client library

    all things work good except file size limit. files larger than 2.047 can`t be uploaded.

    and again. How we can increase this file limit size ?

    this task is making me crazy, I really need help with it.

    Tuesday, July 14, 2015 1:10 PM
  • Are you talking about GB? If so then no, it can't be done at all in any way. There is no workaround for uploading over 2GB for either on-premises or O365.

    That may change someday but at the moment it can't be done.

    Tuesday, July 14, 2015 2:15 PM
  • The max file upload size is 2GB and can't be changed.  See the SharePoint online Boundaries and Limits document.

    https://support.office.com/en-us/article/SharePoint-Online-and-OneDrive-for-Business-software-boundaries-and-limits-8F34FF47-B749-408B-ABC0-B605E1F6D498


    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Tuesday, July 14, 2015 2:42 PM
  • *sorry

    of course I meant Mb

    7 Mb file size for uploading is enough for us

    Tuesday, July 14, 2015 2:53 PM
  • If 7MB is enough then you don't need to increase the file size.  Its already set to 2 GB.  If you can't upload 7MB files then check your connectivity to O365.  I've uploaded files much larger than that without an issue.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Tuesday, July 14, 2015 3:12 PM
  • Take a look at this post. It has strategies for uploading "large" documents (large being ~3MB).

    http://sharepointfieldnotes.blogspot.com/2014/07/uploading-large-documents-into.html

    http://justgeeks.blogspot.com/2013/03/uploading-large-files-to-sharepoint.html


    Trevor Seward

            

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Tuesday, July 14, 2015 4:01 PM
    Moderator