MS Graph Java SDK: how to upload a large file to OneDrive?

丶灬走出姿态 提交于 2019-12-06 11:06:08

问题


I'm trying to upload file to a OneDrive from my Java application, but i dont understand the flow and dont see any documentation or methods within SKD for file upload.

The only flow i've found is:

driveClient.me().drive().root().createUploadSession(uploadProperties).buildRequest().post()

But this results in NPE: source.

how can i set the content as InputStream ?

来源:https://stackoverflow.com/questions/54008743/ms-graph-java-sdk-how-to-upload-a-large-file-to-onedrive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!