![]() |
VOOZH | about |
Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.
This example demonstrates how to use the CData SSIS Tasks for SFTP inside of a SQL Server SSIS workflow to transfer SFTP data into a Microsoft SQL Server database.
To get started, add a new SFTP source and SQL Server ADO.NET destination to a new data flow task.
๐ The Data Flow task used in this example. (Salesforce is shown.)Follow the steps below to save SFTP connection properties in a connection manager.
SFTP can be used to transfer files to and from SFTP servers using the SFTP Protocol. To connect, specify the RemoteHost;. service uses the User and Password and public key authentication (SSHClientCert). Choose an SSHAuthMode and specify connection values based on your selection.
Set the following connection properties to control the relational view of the file system:
Follow the steps below to specify the query to be used to extract SFTP data.
SELECT Filesize, Filename FROM MyDirectory WHERE FilePath = /documents/doc.txt๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the SFTP data into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with SFTP data.
๐ The completed import. (Salesforce is shown.)Download a free trial of the SFTP SSIS Component to get started:
Download NowLearn more:
๐ SFTP IconPowerful SSIS Source & Destination Components that allow you to easily connect SQL Server with remote files and directories through SSIS Workflows.
Use the SFTP Data Flow Components to access all kinds of data. Perfect for data synchronization, local back-ups, reporting, and more!