Can someone please advise on uploading files to Office365 SharePoint?
I believe this should be done using the DAV protocol, so HTTP::DAV should be right library for that, but how to code it to make it work with Office365? Each account hosted with Office365 has a TeamSite website, which hopefully can be accessible with DAV. Please advise.
Upload large documents to SharePoint site using WebClient class gives an example of using DAV to upload a document.
With that example in mind, the task is to look at WebClient documentation to figure out what
oWebClient.UseDefaultCredentials = true;
really does.So, it seems, the task is to figure out what credential information is sent. The rest seems to be a simple
PUT
request.