question

Shivu avatar image
Shivu asked

Use SSIS to FTP

I have to FTP data from SQL tables to CSV files on a UNIX server. Any idea how this can be done? Thanks in advance for your response!
ssisftp
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Pavel Pawlowski avatar image
Pavel Pawlowski answered
You can use a Data Flow task to transform data from the SQL table into the CSV Flat File. Then you can use. Then add a FTP Task to the Control flow to transfer the flat file to the FTP. If you have multiple Tables, then depends on the table structure whether you can use eg. For Each Loop container and both the Data Flow and FTP Task inside it or choose other approach (multiple data flows with multiple FTP Tasks or eg. Single Data Flow with multiple transformations inside and a single FTP Task inside For Each Loop container to transfer all the generated flat files. There is a lot of possibilities and the best one depends on your concrete scenario. Also instead of a FTP Task you can use eg. Execute Process Task to launch eg. a third party FTP client (eg. SCP for secure transfers).
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.