share point 的一些地址

SharePoint List of Bloggers!
Title Link
Amanda Murphy's Xbox and SharePoint Blog http://blog.funknstyle.com/
Arpan Shah's Blog http://weblogs.asp.net/arpans
Bil Simser's Blog http://weblogs.asp.net/bsimser/category/4940.aspx?Show=All
Bob Mixon's Blog http://sharepointblogs.com/bmixon/
Bryant Likes's Blog - SharePoint http://blogs.sqlxml.org/bryantlikes/category/23.aspx
Daniel McPherson's Blog http://blogs.msdn.com/danielmcpherson
Dustin Miller's Blog (The Dean) http://www.sharepointblogs.com/dustin
Eli Robillard's Blog http://weblogs.asp.net/erobillard/category/5612.aspx
Eric Legault http://blogs.officezealot.com/legault/
Erol's Blog http://sharepointerol.blogspot.com/
Free Fire Zone http://weblogs.ilg.com/ksyverstad/
FrontPoint http://weblogs.asp.net/frontpoint/
Gary Bushey's Blog http://dotnetjunkies.com/WebLog/gary_bushey/
Graham Tyler (The Goldfish Bowl) http://blogs.msdn.com/grahamtyler/
James Edelen's Blog http://www.mindsharpblogs.com/james
Jan Tielen's Blog http://weblogs.asp.net/jan/
Jim Duncan's Blog http://dev.collutions.com/blog/default.aspx
John West's (JohnWe's) Blog http://blogs.msdn.com/johnwe/
Lamont Harrington's New Blog http://blogs.msdn.com/lamonth/
Lamont's Blog http://dotnetjunkies.com/WebLog/lamont_harrington/
LauraJ's Weblog http://blogs.msdn.com/lauraj
Mad Nissen's Blog http://weblogs.asp.net/mnissen
Mark Harrison's Blog http://markharrison.co.uk/blog
Mark Kruger's Blog (The Boiler Room) http://www.sharepointblogs.com/mkruger
Mart Muller's Sharepoint Weblog http://blogs.tamtam.nl/mart/
Mike Fitzmaurice's WebLog http://blogs.msdn.com/mikefitz
Mike Walsh's Blog http://mikeswss.blogg.de/
Nick Porter's Blog http://spaces.msn.com/members/nickporter
Nigel Bridport's Blog http://weblogs.asp.net/nigelbridport/
Patrick Tissenghem http://radio.weblogs.com/0126624
Paul Schaeflein's SharePoint Experience http://www.schaeflein.net/blog/
Random Elements http://randomelements.me.uk/blog
Rohan Cragg http://www.sharepointblogs.com/rcragg/
Ryan Rogers's Sharepoint Blog http://blogs.msdn.com/ryanrogers/
Serge van den Oever http://weblogs.asp.net/soever
SharePoint Thought's Blog http://www.bluedoglimited.com/SharePointThoughts/default.aspx
SharePointBlogs.COM http://www.sharepointblogs.com
Sig Weber's Playground http://www.asaris-matrix.com/sweber/playground/default.aspx
Stramit's SharePoint Blog http://blog.spsclerics.com/
Tariq's Tangible Thoughts http://geekswithblogs.net/tariq/
Thom Robbins http://weblogs.asp.net/trobbins/category/6947.aspx
Tim Heuer's Blog http://timheuer.com/blog/
Todd Bleeker http://mindsharpblogs.com/todd/

Source: http://sharepointblogs.com/mkruger/archive/2005/02/15/1310.aspx

joycode:http://blog.joycode.com/kaneboy/articles/88491.aspx

 
在PowerPages中,下载SharePoint文件通常是通过调用SharePoint Web Services API或者利用其内置的Microsoft Office SharePoint Foundation (MOSS) Web Services来完成的。这里是一个基本的步骤: 1. **设置环境**: 确保你已经安装了SharePoint的SOAP服务客户端库,例如Windows SharePoint Services SDK或SharePoint Server Management Shell工具。 2. **访问SharePoint**: 需要使用SharePoint的对象模型(如SPSite、SPList和SPFile)来与SharePoint交互。首先,你需要凭据(如用户名和密码)获取对SharePoint网站的访问权限: ```powerpages Dim spSite As SPSite Dim spWeb As SPWeb Set spSite = New SPSite("http://your-sharepoint-site") Set spWeb = spSite.OpenWeb() ``` 3. **定位文件**: 根据文件路径或列表ID找到你要下载的文件: ```powerpages Dim spList As SPSList Dim spFile As SPFile Set spList = spWeb.Lists("Documents") ' 替换为你的文档列表名 Set spFile = spList.Items.ItemById("file-id") ' 或者 spList.GetFileByServerRelativeUrl("/your-file-path") ``` 4. **下载文件**: 使用`spFile.OpenBinaryStream`方法读取文件内容,然后将其写入HTTP响应以便下载: ```powerpages Dim binaryStream As Stream binaryStream = spFile.OpenBinaryStream() Response.ContentType = "application/octet-stream" Response.AddHeader("Content-Disposition", "attachment; filename=your-file-name") ' 替换为文件的实际名称 Response.BinaryWrite(binaryStream.ReadAll()) binaryStream.Close() ``` 5. **清理资源**: 关闭流和对象以释放内存: ```powerpages binaryStream.Close() Set binaryStream = Nothing Set spFile = Nothing spWeb.Dispose() spSite.Dispose() ``` 注意:以上代码示例是理论上的,实际使用时需要处理异常,以及可能的安全限制,比如权限控制。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值