how to upload and download file to onedrive for bu

2020-07-28 00:26发布

问题:

Hi i am new in coding and development. Can somebody please help me to upload and download a file to onedrive for business using c# application?

回答1:

the preferred way is:

  • Start using SDK of the Microsoft live SDK (REST API) as in the following link MSDN OneDrive files

  • and this link also will help you using the Msdn Code sample

  • You'll use the Commands of Sdk api Put, get, Post, Move and Delete LIke this way

    (POST https://apis.live.net/v5.0/me/skydrive/files?access_token=ACCESS_TOKEN)

  • P.S: Remind you to use multi threading, await, UploadAsync, ... and repeat on cached failures.



标签: c# asp.net rest