如何通过SSIS中的FTP任务上传多个文件 [英] How to upload mutiple files by FTP task in SSIS
本文介绍了如何通过SSIS中的FTP任务上传多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我喜欢用一个FTP任务将多个不同名称的文件上载到SSIS包中的服务器。
我只能上传一个文件。
文件名也是不同的。例如
xyz,zbc,ced
是否有任何方法可以在SSIS中的FTP任务中上传多个文件。
谢谢
解决方案
将所有文件放在同一个文件夹中。在ForEachLoop中使用FTP任务,并使用循环容器更新的表达式更新连接字符串。这将有诀窍。
I like to upload multiple files, with different names, in a single FTP task to server in SSIS package. I am only able to upload one file.
the file names are also different e.g
xyz, zbc, ced
is there any way to upload multiple file in a FTP task in SSIS.
Thanks
解决方案
Put all the files in the same folder. Use FTP task inside a ForEachLoop and update the connection string using an expression updated by the loop container. That will do the trick.
这篇关于如何通过SSIS中的FTP任务上传多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文