SharePoint - 仅使用访问令牌即可下载大文件?

问题描述 投票:0回答:1

我发现无法使用 SharePoint CSOM 下载大文件。

网上发布的解决方案建议使用RPC下载大文件,但使用Cookie进行身份验证。 cookie 是使用用户名和密码获取的。

在我的应用程序中,我没有用户名和密码,而是使用访问令牌。

有什么方法可以从我的访问令牌获取身份验证 cookie,而不需要用户名/密码?或者我可以使用我的访问令牌下载大文件的另一种方式?

c# sharepoint
1个回答
0
投票

我建议您仅使用sharepoint应用程序。请参考以下步骤获取accesstoken

https://global-sharepoint.com/sharepoint-online/in-4-steps-access-sharepoint-online-data-using-postman-tool/

© www.soinside.com 2019 - 2024. All rights reserved.