简体   繁体   English

SQL Server 2008集成服务-如何从Web获取文件

[英]Sql server 2008 integration services - How to get file from web

I want to create a integration service to regularly get file from a web link. 我想创建一个集成服务来定期从Web链接获取文件。 Flat File connection manager only allow me to read from local file, but not from web. 平面文件连接管理器仅允许我从本地文件读取,而不能从Web读取。 How can I do this? 我怎样才能做到这一点?

Thanks 谢谢

Use a script task like seen in this article http://www.sqlis.com/post/Downloading-a-file-over-HTTP-the-SSIS-way.aspx . 使用类似于本文http://www.sqlis.com/post/Downloading-a-file-over-HTTP-the-SSIS-way.aspx中所示的脚本任务。 Then connect to the file using the file connection manager. 然后使用文件连接管理器连接到文件。 You are going to need a similar file to the flat file gathered from the web to do the initial settings. 您将需要一个与网上收集的平面文件相似的文件来进行初始设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM