使用.NET将PDF文件保存到SharePoint
我实际上需要一些建议。 我正在研究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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有直接的方法可以使用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.