Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Configure a Solicit-Response Send Port for the CData BizTalk Adapter for FTP
Use the adapter for FTP with a solicit-response send port to execute updategrams and data manipulation SQL in BizTalk.
This section provides step-by-step instructions for creating, configuring, and testing a static solicit-response send port using the CData BizTalk Adapter for FTP. You can use a static solicit-response send port to execute commands and access the results in BizTalk. You can use send ports to execute updategram commands, SQL commands, and stored procedure operations.
Create and Configure the Send Port
Create a static solicit-response send port and configure it to use the adapter as its transport type.
- If you have not already done so, open your BizTalk application in the BizTalk Administration Console.
- In the node for your BizTalk application, right-click Send Ports and select New -> Static Solicit-Response Send Port. The Send Port Properties dialog is displayed.
- In the Send Port properties, enter a name for the receive port.
- In the Transport Type menu, select CData.FTP;.
- In the Send pipeline menu, select the default option, PassThruTransmit.
- In the Receive pipeline menu, select the default option, PassThruReceive.
Configure the Adapter
Define the command the adapter will execute in the Transport Properties dialog.
- In the send port properties, click the Configure button. The Adapter Transport Properties dialog is displayed.
- In the CommandType property, select the command type you want.
- If you want to execute an SQL command, enter the command in the SQL Command box.
Configure the Connection to FTP
Configure credentials and other properties required to connect to FTP in the Connection String Options dialog.
- In the send port properties, click Configure. The adapter properties dialog is displayed.
- Click the button in the Connection String property. The Connection String Options dialog is displayed.
- Enter the connection properties. Below is a typical connection string:
RemoteHost=MyFTPServer;
To connect to FTP or SFTP servers, specify at least RemoteHost and FileProtocol. Specify the port with RemotePort.
Set User and Password to perform Basic authentication. Set SSHAuthMode to use SSH authentication. See the Getting Started section of the data provider help documentation for more information on authenticating via SSH.
Set SSLMode and SSLServerCert to secure connections with SSL.
The data provider lists the tables based on the available folders in your FTP server. Set the following connection properties to control the relational view of the file system:
- RemotePath: Set this to the current working directory.
- TableDepth: Set this to control the depth of folders to list as views.
- FileRetrievalDepth: Set this to retrieve and list files recursively from the root table.
Stored Procedures are available to download files, upload files, and send protocol commands. See the Data Model chapter of the FTP data provider documentation for more information.
- Click Test Connection to verify the values and test connectivity.