我們需要使用SSIS將SharePoint文檔庫(可以將多個文檔保存爲多種格式)導入目標文件夾(位於不同服務器上)。使用SSIS導入Sharepoint文檔庫
1
A
回答
3
有可用於SharePoint的開源SSIS適配器。你可以使用這些。
http://sqlsrvintegrationsrv.codeplex.com/ http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652
0
您還可以創建在SSIS腳本任務,並使用C#來從SharePoint庫文件解壓到本地文件夾。確保SharePoint網址僅包含siteurl/Library/Folder/File(無特殊字符)。下面複製一個文件,但可以修改爲複製多個文件。祝你好運。
using System.net;
public void main()
{
WebClient Client = new WebClient();
Client.UseDefaultCredentials = true;
Client.DownloadFile("yourSharePointurl/File.ext",
@"YourLocalFolder/File.ext");
Dts.TaskResult = (int)ScriptResults.Success;
}
相關問題
- 1. 簽入SharePoint文檔庫
- 2. Sharepoint文檔庫
- 3. 導出Sharepoint文檔庫項目到Excel
- 4. ssis腳本任務在Sharepoint文檔庫中創建文件夾
- 5. SharePoint Rest文檔庫
- 6. 在SharePoint文檔庫
- 7. Infopath SharePoint文檔庫
- 8. 將文檔從VSS導入Sharepoint
- 9. 使用Excel VBA管理SharePoint文檔庫
- 10. 如何將Sharepoint文檔庫導入Visual Studio 2010?
- 11. 如何將Sharepoint文檔庫字段導入GridView
- 12. Sharepoint文檔庫作爲SSIS中的目的地
- 13. 使用Sharepoint Web服務從Sharepoint文檔庫下載文件
- 14. Sharepoint文檔庫文件
- 15. 使用MVC從SharePoint 2010文檔庫下載文檔
- 16. 如何使用Workflow Foundation從Sharepoint文檔庫下載文檔?
- 17. 從SharePoint 2010文檔庫檢索文檔
- 18. 從SharePoint文檔庫打開文檔
- 19. 使用SSIS,SQL Server來導入自定義SharePoint列表
- 20. 搜索A文檔庫或文檔在Sharepoint文檔庫中
- 21. 使用ssis導入數據?
- 22. 註冊SharePoint 2010文檔庫
- 23. ASP.NET Server.MapPath和SharePoint文檔庫
- 24. 獲得SharePoint文檔庫
- 25. 文檔庫Sharepoint中的Versions.aspx
- 26. sharepoint 2010文檔庫ip filtering
- 27. 監控SharePoint文檔庫
- 28. 刪除SharePoint文檔庫
- 29. Sharepoint文檔庫和CAML
- 30. 使用Microsoft Graph API使用Sharepoint文檔庫處理Excel文件
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/28adf47e-c26b-41ce-a3fe-d7546219b2b8 –
爲什麼要使用SSIS這個?爲什麼不寫一個小應用程序來做到這一點?另外,哪個版本的SharePoint? –