Step 4: Add an FTP Source
In this step, you add an FTP source to the BizTalk 服務專案. An FTP source component on the BizTalk 服務專案 design surface represents a location on the FTP Server where Northwind Traders drops the flat-file message to send to Humongous Insurance.
|The FTP Server from where a bridge picks a message must be in a public domain and must allow connections in either secure (SSL) or non-secure mode.|
To add an FTP source
In the BizTalk 服務專案, open the 橋接器組態 surface, right-click anywhere on 橋接器組態 surface, select Properties and update the BizTalk Service URL property to include your BizTalk 服務 name. This is the name that you provided in Azure Management Portal while provisioning the BizTalk 服務.
From the Toolbox, drag and drop an FTP Source component onto the surface.
Right-click the component and select Properties. The following table provides information about the properties:
Specify the character encoding of the message. Default is UTF8. For this tutorial, retain the default.
Specify Text or XML as the message file type. Default is Text. For this tutorial, retain the default.
Specify a unique and descriptive name of the FTP Source component. For this tutorial, specify ClaimsSource.
Specify a File Mask to filter the messages pulled from the FTP server. For this tutorial, enter *.txt.
Specify the folder on the FTP server that contains the messages to retrieve. For this tutorial, Humongous Insurance pulls all the messages from a ReceiveFFMessage folder on the FTP server. Hence, enter ReceiveFFMessage.
FTP Transfer Mode
Specify Binary or ASCII as the mode of transfer. Default is Binary. For this tutorial, retain the default.
Specify Stop or Start for the FTP Source. Default is Start. For this tutorial, retain the default. If set to Start, the FTP Source component is started when the BizTalk 服務專案 is deployed.
附註 If the initial status is set to Stop, you can set it to Start even after the project (which includes the bridge, artifacts, and the FTP source) has been deployed. BizTalk 服務 provides PowerShell cmdlets to start sources for a 橋接器. For more information, see Start-AzureBizTalkBridgeSource.
Enter the username password that can retrieve files from the FTP server.
Enter the name or IP address of the FTP server.
Enter the FTP server port. Default is 21 and is typically used for FTP.
Select True if the connection to the FTP server must use SSL. For this tutorial, select False.
Enter the username that can retrieve files from the FTP server.
Save changes to the project.