使用SSIS包解压缩多个文件 [英] Unzip multiple files using SSIS Package

查看:194
本文介绍了使用SSIS包解压缩多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何创建一个SSIS包,该包允许将一个文件夹中的所有zip文件解压缩并将其复制到另一个文件夹?

How can we create an SSIS package which allows to unzip all zip files in a folder and copy it to another folder?

推荐答案

例如创建一个控制台应用程序,它将必要的参数(文件夹,zip文件等)作为参数并将其解压缩.然后,您可以执行执行任务任务来执行控制台应用程序.

很少引用:
- http://msdn.microsoft.com/en-us/library/system .io.packaging.zippackage.aspx [ ^ ]
- http://msdn.microsoft.com/en-us/library/ms141166.aspx [ ^ ]
One way to do this is to create for example a console application which takes the necessary parameters (folders, zip-file etc) as parameters and unzips them. Then you can you Execute Process task to execute the console application.

Few references:
- http://msdn.microsoft.com/en-us/library/system.io.packaging.zippackage.aspx[^]
- http://msdn.microsoft.com/en-us/library/ms141166.aspx[^]


这篇关于使用SSIS包解压缩多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆