I want to connect to sftp server and transfer a file using SSIS.
I tried the ftp connection and it fails.
How can I do this using a script task.
I'm not very good with scripts. Can you provide me with a working script?
Thanks,
I want to connect to sftp server and transfer a file using SSIS.
I tried the ftp connection and it fails.
How can I do this using a script task.
I'm not very good with scripts. Can you provide me with a working script?
Thanks,
Unsurprisingly, the windows command also lacks native support for sftp. You're going to need a 3rd party tool either way.
I hate answers that are just links, but here is a step-by-step tutorial on setting up an Execute Process SSIS task to retrieve a file from an sftp server - https://www.mssqltips.com/sqlservertip/3435/using-sftp-with-sql-server-integration-services/
You can do the same thing with any other secure transfer command line tool you choose.
For a native SSIS experience, there are also some 3rd party tools that add an SFTP task directly within SSIS. TaskFactory by sentry one is one that I have used (https://www.sentryone.com/products/task-factory/feature/sftp-ssis-secure-ftp) but cozyroc makes another widely used SSIS task for transferring files.
18 People are following this question.