使用.NET将PDF文件保存到SharePoint

发布于 2025-02-10 14:50:22 字数 234 浏览 0 评论 0原文

我实际上需要一些建议。 我正在研究Aspose Words .NET,并使用它为我的本地系统创建了PDF,没有任何问题。

这是我用来保存PDF文档的代码:

doc.Save(savePath+"Myfile.pdf");

现在我想使用.NET将PDF文件直接保存到SharePoint文件夹中,该怎么办?我也有SharePoint文件夹路径,用户名和密码,但找不到正确的方法。

I need some advice actually.
I'm working on Aspose Words .NET and using that I created a PDF to my local system without any problem.

Here is the code I used to save the pdf doc:

doc.Save(savePath+"Myfile.pdf");

Now I want to save that pdf file directly to a Sharepoint folder using .Net, What should I do ? I have Sharepoint folder path, Username and Password as well, but couldn't find a right way to do it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

苍景流年 2025-02-17 14:50:22

没有直接的方法可以使用Aspose.words将文档保存在SharePoint文件夹中。要实现这一目标,您应该首先将您的文档保存到流使用Aspose.words,然后在SharePoint中将结果文档上传。

There is no direct way to save document in a Sharepoint folder using Aspose.Words. To achieve this you should first save your document to a stream using Aspose.Words and then upload the resulting document in Sharepoint.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文