在不使用 Web 服务的情况下以编程方式从 Sharepoint 下载文件?
我想从 SharePoint 网站获取一些文件,但我不想使用 Web 服务 a) 我希望与 2007 和 2010 兼容,b) 我不确定 Web 服务是否可以给我站点上的所有文件。
SharePoint Designer 可以做到这一点,并且它似乎通过 _vti_bin/Author.dll 使用 FrontPage 服务器扩展。另外,我可以使用映射网络驱动器 -> 在 Windows 中访问它地图网站,我认为正在使用 WebDAV。
是否有 WebDAV 客户端或 Author.dll 客户端的 C# 实现?
I'd like to fetch some files from a SharePoint site, however I do not want to use the web services as a) I want to be compatible with both 2007 and 2010 and b) I'm not sure if Web Services can give me all files on a site.
SharePoint Designer can do that, and it seems to use FrontPage Server Extensions using _vti_bin/Author.dll. Also, I can access it in Windows using Map Network Drive -> Map Web Site, which I think is using WebDAV.
Is there any C# implementation of either a WebDAV Client or a Author.dll Client?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以更改此代码以进行下载。 http://geek.hubkey.com/2007/ 10/上传文件到sharepoint-document.html。只需搜索不同的上传代码并将其搞乱即可。我会给你我的上传文件的代码,但我正在度假,我向自己保证我不会登录工作:)。该链接应该可以为您指明正确的方向。
You could change this code to download. http://geek.hubkey.com/2007/10/upload-file-to-sharepoint-document.html. Just search around for different upload code and mess with it. I would give you my code for uploading files but I am on vacation and I promised myself that I would not log into work :). That link should get you pointed in the right direction.