Office 365 Files REST API and chunked upload

Hello,
I am currently working on integration with OneDrive for Business and I need to upload large files in chunks. I need to do something like  this but using
the O365 Files REST API. As far as I understand this is currently not supported.
Are there any plans to support
uploading in chunks? If yes, can you please provide some (rough) estimate?
Thanks
Andrey

Thank you for the quick answer!
We are trying to upload the files using javascript and we are currently working with this API:
https://msdn.microsoft.com/en-us/office/office365/api/files-rest-operations
We have also noticed that the roadmap for Office 365
http://roadmap.office.com/en-us contains SharePoint API Partial File Upload Support. 
Does the update pointed in the roadmap refer to the API we are using? Or if you are saying we can already do chunked upload using it, can you please point us to a working sample?
Thanks
Andrey

Similar Messages

  • Office 365 Files REST API - Get direct children in the root of the default document library

    I'm trying to work with Office 365 Files REST API which works just fine except one thing that I'm struggling with.
    What I need for my application is to make an explorer like browse capability for OneDrive for business Document Library.
    My problem is that I don't know how to get the direct children in the root of the Document library
    The API request
    GET ../_api/files will
    retrieve all files and folders in the default document library, including files and folders from sub-directories.
    What I need is basically the functionality of the API request
    GET ../_api/files(<folder_path>)/Children
    that works also for the root folder of the Document library. The problem is that I couldn't find a way set <folder_path> as the root folder. 
    I found out that the API call ../_api/web/getfolderbyserverrelativeurl(<folder_server_relative_path>)/Folders and _api/web/getfolderbyserverrelativeurl(<folder_server_relative_path>)/Files works as expected resulting the only the direct
    children of the root folder if the folder_server_relative_path is the path of the document library. The problem with this API call is that it's requires server relative path of the (default) document library (which i don't have) and the result has a different
    schema compared to the ../_api/files REST API call.
    Can somebody help me with this problem?
    David

    First thanks for the fast answer. Let me explain my use case in more details.
    I'm trying to work with the new summer release of the
    Office 365 API tool for Visual Studio 2013 (update 3)
    I found no reasonable way to retrieve the direct children of the root folder from my One Drive for business Document Library using the newly added SharePointClient library.
    The API call of `SharePointClient.Files` will retrieve all the files and folders from the whole document library including sub-folders. So in order to get only the direct children I have to page through all the documents and folders and analyze their URL, which
    is not acceptable for my application scenario. For a sub-folder I can get the direct children like this: `SharePointClient.Files["<folder_id>"].ToFolder().Children` This is what I need but it can't be applied to the root folder.
    So what I did I've checked what REST API calls this library makes and I've tried to find out if there is a way to achieve my goal at least using direct REST API call. It seems like the functionality is missing from the REST API itself. 
    The http://site
    url/_api/web/lists/GetByTitle(‘libraryname’)/items API call also retrieves all the items hierarchy from the library (including items from sub-folders) and the result XML "schema" (fields and the meaning of the ID) differs from the one used
    by the calls by SharePointClient library. (for example the "Id" is a number when the /items is called but when
    /_api/files is called the "Id" is the relative path to the document library)
    Basically what I need can be achieved with the call to http://site url/_api/web/lists/GetByTitle(‘libraryname’)/rootfolder/files and http://site
    url/_api/web/lists/GetByTitle(‘libraryname’)/rootfolder/folders but again the schema of the result differs from the one used in SharePointClient
    library. This means that in order to get  the direct children of the root I will need to re-implement a good part of the SharePointClient library. It seams like there is 2 kind of REST API is implemented. ( missing  "Id" and "url"
    fields, etc)
    Also there is no convenient way to get the Name or the GUID of the default document library which the SharePointClient.Files
    (https://site_url/_api/file) automatically
    uses. The DiscoveryContext.DiscoverCapability for "MyFiles" doesn't gives any hint either.
    David

  • How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?

    How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
    any idea?

    Hi,
    From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
    Here is sample code for getting user profile properties:
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    Here is a blog below about accessing data from the provider-host apps:
    http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • FILES REST API url to list specific folder content

    I need to retrieve the items/documents in a specific folder of our Office 365 hosted SharePoint site, but I always get an resource error. I'm trying to use the FILE REST API for this, documented here:
    https://msdn.microsoft.com/office/office365/APi/files-rest-operations
    The url to the SharePoint site with the files is
    https://informationresourcemanager.sharepoint.com/irm/fido/1074/Forms/AllItems.aspx
    and according to the MSDN documents the call should be
    GET {base-url}/Files/{folder-id}/children
    and "base-url" should in the case of SharePoint be
    https://{tenant}.sharepoint.com/{site-path}/_api/v1.0
    Now, I've tried 10 different combinations without getting any good results, so I guess I'm doing something wrong with the base-url or the site-path. Is the correct base-url this for my site
    https://informationresourcemanager.sharepoint.com/irm/fido/_api/v1.0/
    or just
    https://informationresourcemanager.sharepoint.com/irm/_api/v1.0/
    /Johan

    Hi,
    According to your description, my understanding is that you want to get all the content in a specific folder using Office 365 rest api.
    For the base url, it needs to specify the site collection name in the url. In my environment, I have a site collection called "ZhengyuGuo", so we can get all the file in such site collection like below firstly:
    https://xxx.sharepoint.com/sites/zhengyuGuo/_api/v1.0/files/
    Then you can get the content in a specific folder using the "getByPath" method like below, in my environment, I will get the all file contents in document library folder.
    https://xxx.sharepoint.com/sites/zhengyuGuo/_api/v1.0/files/getByPath('/')/children
    The json data return like the capture below:
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Adobe pdf can not be completedly displaced by Adobe reader XI while it is inserted into a Excel2013(office 365) file

    adobe pdf can not be completedly displaced by Adobe reader XI while it is inserted into a Excel2013(office 365) file

    Sorry
    should be “displaying”
    Like when open a drawing pdf which is inserted into Excel(office 365) as an object, some lines, dimensions with remark can not be displayed and only few graph can be displayed.
    But if the drawing is a separate PDF file, not inserted into Excel(office 365)as an object, the Adobe XI reader can always open it with all graphs, figures, texts, lines etc. smoothly.
    发自 Windows 邮件
    发件人: Claudio González
    发送时间: 2014年10月13日, 星期一 17:38
    收件人: Alex Ye
    adobe pdf can not be completedly displaced by Adobe reader XI while it is inserted into a Excel2013(office 365) file
    created by Claudio González in Adobe Reader - View the full discussion 
    Please explain in full detal what you are trying to do and what happens when you try. I don't understand what you mean by "displacing a pdf (file?)".
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6819113#6819113
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Reader by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • I'm trying to download office 365 small business package, and every time I try the website it says there is a runtime service error in the '/' application. Is this my mac or is it the website, and how can I fix it?

    I'm trying to download office 365 small business package, and every time I try the website it says there is a runtime service error in the '/' application. Is this my mac or is it the website, and how can I fix it?

    If a phone is sold from one friend to another and wants to use it on a different carrier the friend can contact the carrier it was sold by to request it unlocked.  I know AT&T, Verizon, and Sprint will give you the steps to unlock it as long as the original contract it was bought under has been completed.  eBay/Craigslist is really not the best place to try to get "unlocked phones" from, if it turns out the phone isn't unlocked then I'm really sorry you got stuck with that one and as stevejobsfan said above I would report them immediately and see if you can recover your money.  I sell phones for a living and this happens a lot

  • Softwares/licenses require over Office 365 Development,QA, UAT and Production site

    Hello, Client has Office 365 E3 version, this plan provide Development site. We require to do extreme customization and
    third party integration for that we are planning to go with Provider hosted app.
    So, what are the additional software’s/licenses would require for Development,
    QA, UAT and Production site for 6 developer?
    How can we manage Development licenses cost of Visual Studio 2013, SharePoint 2013 Designer for 6 developers?
    Do client need to purchase additional licenses of Office 365 E3 for QA and UAT site?
    Do client need to buy additional license for Azure Web Site or is it provided in Office 365 E3 version by default, as we need this for Provider hosted app?

    Hi,
    Per my understanding, there might be some queries on the development environment set up in Office 365.
    About the requirement of setting up a development environment for Office 365, steps in details can be found in the two links below:
    Setting up your Development Environment for O365 & Azure Development
    http://blogs.msdn.com/b/steve_fox/archive/2013/02/03/setting-up-your-development-environment-for-o365-amp-azure-development.aspx
    How to: Set up an environment for developing apps for SharePoint on Office 365
    https://msdn.microsoft.com/EN-US/library/office/fp161179.aspx
    For the license related issues of Office 365, I suggest you post it to Office 365 forum, you will get more help and confirmed answers there.
    http://community.office365.com/en-us/f/default.aspx
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Office 365 API with Visual studio 2013 using file REST API

    Hi,
    I had configured MVC application for getting files from office 365 one drive, I am able to seen all file on last day but Now I am getting below issue 
    <?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code>-1, System.ApplicationException</m:code><m:message xml:lang="en-US">Error
    in the application.</m:message></m:error>
    when I want to see again all files. and most important I didn't make any changes in my previous code...
    Please share your suggestion....

    Hi,
    If you are developing an app for SharePoint, the app can call into a user’s MySite site collection and access their OneDrive for Business documents using REST or CSOM.
    The REST call to get to the file would be:
    https://YourO365DomainHere-my.sharepoint.com/personal/YourUserName_YourO365DomainHere_onmicrosoft_com/_api/web/GetFileByServerRelativeUrl('/personal/YourUserName_YourO365DomainHere_onmicrosoft_com/Documents/Shared%20with%20Everyone/myDocument.docx')/$value
    More information is here:
    http://blogs.msdn.com/b/sharepointdev/archive/2013/08/13/access-skydrive-pro-using-the-sharepoint-2013-apis.aspx
    Best regards
    Dennis Guo
    TechNet Community Support

  • Office 365 files api with php not responding.

    I am trying to access OneDrive for Business using the office 365 rest api. Our code is in php and we can access email, contacts etc fine but the files api doesn't return any kind of response to our requests. We already have a combine access token from
    the consent process. I do get a Unknown SSL protocol error in connection to ... error from curl but thats all. Can anyone help?

    Hi,
    As this question is more relate to Office 365 and PHP development, I suggest you post it to Office 365 or PHP Forum, you will get more help and confirmed answers from there.
    Or use the Fiddler to monitor the requests and responses data.
    http://www.telerik.com/fiddler
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SharePoint REST API and Asset Library Problem

    Hi dear friends,
    Im having an issue about posting videos via rest to asset library and i couldnt solve yet.
    My main task is to migrate a content(according to the scenario its video) from one farm to another.For that i've planned to use Rest API using server side(c#).While
    any other kind of document types(images,texts) are migrated successfully,videos are giving me hard time.
    I think theres something special going on while creating videos in an asset library,right?
    When i post video as byte array it creates video as .mp4 file but the content type displayed as "Image".I followed this guide : https://msdn.microsoft.com/en-us/library/office/dn292553.aspx and
    couldnt find a way.
    Can someone give me a sample code or help me solve this issue? Looking forward help from SharePointers who worked with rest api :)
    Thanks

    You can look at this link to help you set the metadata using REST.
    http://sharepointfieldnotes.blogspot.com/2014/04/uploading-documents-and-setting.html
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Office 365 Reseller - Provision of new Office 365 business using API's?

    Hi,
    I couldn't work out which category to put this into. We have built our own provisioning and billing portal which is currently used to provision phone services. We currently resell hosted exchange and are looking to resell Office 365. Are there any API's
    available for Office 365 for the creation, management, deletion of businesses and users within that business. We want all of the functionality of the office 365 partner and admin portal but we want all tasks to be completed within our own provisioning portal
    using API calls to the office 365 admin tools?
    For example, you can purchase office 365 from the godaddy website, we want to be able to do that.
    Thanks.

    Hi,
    Could anyone advise on this matter ?
    Thanks,
    Kind regards.

  • Office 365 files won't open from network drive

    I can’t open any office  documents from a mapped network drive. I can however go to file explorer and go straight the server directory (\\servername\share) and open any document. As a workaround, I created a shortcut on the desktop that points
    to the share to allow the user to continue working.
    I have checked permission and added the path in Trust Center. I know it’s not the computer because I have logged in with other users and everything works fine. I have also logged into other computer with the user that is having the problem and again
    everything works. I'm convinced it some setting I'm missing within the user profile on the computer.
    windows 7 x64
    office 365 bussiness

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, the issue is more related to the user profile. I'll move your question to Windows server forum.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winservergen
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • Office 365 files do not open

    I recently loaded Office 365 on my Windows 7 desktop.  I cannot open any file created in Excel by doubleclicking on the file.  I have used the repair function many times, uninstalled the previous version of Office -- no good.  I cannot open
    Word documents by doubleclicking on the file, but I can open them by opening Word first, then browsing for the file.  
    If I try to open an Excel file by doubleclicking it, nothing happens.  If I try to open it after opening Excel, the file will briefly flash on the screen and then the program crashes.  I could open Excel files created in Office 365 by opening Excel
    2007, then opening the file from Excel 2007.  That's not an option now, as I have uninstalled Excel 2007.
    I have tried to run Excel/exe/regserver, and get the error message "Windows cannot find 'Excel.exe/regserver.'  Make sure you typed the name correctly, and then try again."
    I see that this seems to be a fairly common issue, but I can't find any solution that lets me open Excel files.  Hoping that you have a better solution.

    Hi,
    When uninstalling an Office version while leaving another version installed on the computer, you should repair the version of Office remaining after the uninstallation process, to make sure that file type associations will work correctly.
    If you choose to re-register the application, as Diane mentioned above, please note the space in the command.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • Which is best for converting a novel from Microsoft Office Word file to editable and sharable PDF

    I am a writer who needs to convert a Microsoft Office Word File to a PDF file that can be edited, re-formatted and sent to an on line printing company.  They recommended an Adobe PDF - PDX-1a available with Acrobat Professional.  I don't need photos or graphs, etc.  The cover design is Microsoft Graphic Art.  Sizing, of pages will be 5.5 x 8.5.  Number of pages that size approx. 486.
    Can you tell me if the PDF Creator is the one I am looking for?

    Good day,
    If your Word file is under 100MB in size, our CreatePDF service should do the job for you to create a PDF file. The file won't be a PDF/X-1a, but if there are no photos or graphics, it may suffice. If you must create a PDF that's PDF/X-1a-compliant, you need Adobe Acrobat Professional.
    Please let us know if you have any questions.
    Kind regards,
    David

  • Reading XML file using BAPI and then uploading that xml file data into SAP

    I am getting a xml file from Java server. I need to take
    data from this file using BAPI and need to upload into SAP using SAP.
    Please tell me how to read XML files using BAPI's.

    <b>SDIXML_DATA_TO_DOM</b> Convert SAP data (elementary/structured/table types) into DOM (XML
    <b>SDIXML_DOM_TO_XML</b>  Convert DOM (XML) into string of bytes that can be downloaded to PC or application server
    <b>SDIXML_DOM_TO_SCREEN</b> Display DOM (XML)
    <b>SDIXML_DOM_TO_DATA</b>
    data: it_table like t001 occurs 0.
    data: l_dom      TYPE REF TO IF_IXML_ELEMENT,
          m_document TYPE REF TO IF_IXML_DOCUMENT,
          g_ixml     TYPE REF TO IF_IXML,
          w_string   TYPE XSTRING,
          w_size     TYPE I,
          w_result   TYPE I,
          w_line     TYPE STRING,
          it_xml     TYPE DCXMLLINES,
          s_xml      like line of it_xml,
          w_rc       like sy-subrc.
    start-of-selection.
      select * from t001 into table it_table.
    end-of-selection.
    initialize iXML-Framework          ****
      write: / 'initialiazing iXML:'.
      class cl_ixml definition load.
      g_ixml = cl_ixml=>create( ).
      check not g_ixml is initial.
      write: 'ok'.
    create DOM from SAP data           ****
      write: / 'creating iXML doc:'.
      m_document = g_ixml->create_document( ).
      check not m_document is initial.
      write: 'ok'.
      write: / 'converting DATA TO DOM 1:'.
      CALL FUNCTION 'SDIXML_DATA_TO_DOM'
        EXPORTING
          NAME               = 'IT_TABLE'
          DATAOBJECT         = it_table[]
        IMPORTING
          DATA_AS_DOM        = l_dom
        CHANGING
          DOCUMENT           = m_document
        EXCEPTIONS
          ILLEGAL_NAME       = 1
          OTHERS             = 2.
      if sy-subrc = 0.  write  'ok'.
      else.             write: 'Err =', sy-subrc.
      endif.
      check not l_dom is initial.
      write: / 'appending DOM to iXML doc:'.
      w_rc = m_document->append_child( new_child = l_dom ).
      if w_rc is initial.  write  'ok'.
      else.                write: 'Err =', w_rc.
      endif.
    visualize iXML (DOM)               ****
      write: / 'displaying DOM:'.
      CALL FUNCTION 'SDIXML_DOM_TO_SCREEN'
        EXPORTING
          DOCUMENT          = m_document
        EXCEPTIONS
          NO_DOCUMENT       = 1
          OTHERS            = 2.
      if sy-subrc = 0.  write  'ok'.
      else.             write: 'Err =', sy-subrc.
      endif.
    convert DOM to XML doc (table)     ****
      write: / 'converting DOM TO XML:'.
      CALL FUNCTION 'SDIXML_DOM_TO_XML'
        EXPORTING
          DOCUMENT            = m_document
        PRETTY_PRINT        = ' '
        IMPORTING
          XML_AS_STRING       = w_string
          SIZE                = w_size
        TABLES
          XML_AS_TABLE        = it_xml
        EXCEPTIONS
          NO_DOCUMENT         = 1
          OTHERS              = 2.
      if sy-subrc = 0.   write  'ok'.
      else.              write: 'Err =', sy-subrc.
      endif.
      write: / 'XML as string of size:', w_size, / w_string.
      describe table it_xml lines w_result.
      write: / 'XML as table of', w_result, 'lines:'..
      loop at it_xml into s_xml.
        write s_xml.
      endloop.
      write: / 'end of processing'.
    end of code
    Hope this will be useful.
    regards
    vinod

Maybe you are looking for