Chris L

Chris L

  • NA
  • 2
  • 683

Uploading a document to sharepoint url with query parameters

Jul 25 2017 10:13 PM
I'm trying to upload a document to a customer sharepoint site using the sharepoint client dll and the URL provided has 2 query strings indicating the target folder and authentication, which looks much like the following (not an actual URL):
 
https://customer-my.sharepoint.com/personal/_sub/11/guestaccess.aspx?folderid=25dcf7e97238cd2762906&authkey=Evk64AWEki7yGKft
Question being, how do I get the "folderid" and "authkey " key/value pairs added to the client object since I can only connect to the site using the URL string up to the "?" delimiter? I'm not finding anything obvious and googlefoo isn't bringing up anything useful either.
 
Using the full URL (including the query strings) doesn't work (unless there is something I'm missing).
 
Please note this is the client dll, not the server version.
Also using C# code.

Answers (1)