How to a copy Folder from FTP using SSIS

Hi everyone,

Please how do I copy a folder from an FTP location using the FTP task in SSIS. Currently, I can only move the files in the folder one after the other but I want to copy the folder at once.

Please I need urgent assistance. 

Re

August 19th, 2015 4:27pm

Thanks.

These steps works fine for me but it doesnt copy the subfolders as well.

August 20th, 2015 3:28pm

Hi lilutchay,

To achieve your requirement, we can uses a Script Task to get a list of ftp files and uses a Foreach From Variable Enumerator to loop through those files. Please note that in the Script Task, you can use the .Net variable folderNames to create some recursive function to loop through all subfolders as well. For more details, please refer to the following blog:
http://microsoft-ssis.blogspot.com/2011/08/foreach-ftp-file-enumerator.html

Or if you don't like programming, use a custom FTP File Enumerator in the foreach loop:
http://microsoft-ssis.blogspot.com/2012/01/custom-ssis-component-foreach-ftp-file.html

Thanks,
Katherine Xiong

Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 11:44pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics