FTP Transmitter
Setting the FTP Adapter Configuration Properties for a Dynamic Send Port
A dynamic send port does not provide any transport configuration options in BizTalk Explorer because it is expected that these properties will be provided with the context properties associated with the message. These properties can be set in a custom pipeline or in an orchestration. To set message configuration properties in an orchestration you can do the following:
- Add a Construct Message shape to your orchestration.
- Configure the Construct Message shape to construct a new message. (for example Message_2)
- Add a Message Assignment shape to the Construct Message shape.
- Add code to the Message Assignment shape to initialize the message that you constructed and to set the appropriate configuration properties for the message.
Configuring the FTP Send Port with the BizTalk Server Administration Console
To configure the send port by using the BizTalk Server Administration console, use the following procedure:
To configure variables for a FTP send port:
- In the BizTalk Server Administration console, create a new send port or double-click an existing send port to modify it. For more information, see How to Create a Send Port. Configure all of the send port options and specify nsoftware.FTP v4 for the Type option in the Transport section of the General tab.
- On the General tab, in the Transport section, click the Configure button next to Type.
- In the nsoftware.FTP v4 Transport Properties dialog box, use the following properties to:
Account The user Account for login.
Type: xs:string Default Value: ""AfterConnect A set of FTP commands to be executed immediately after connecting to the FTPServer .
Type: xs:string Default Value: ""AfterPut A set of FTP commands to be executed after the PUT.
Type: xs:string Default Value: ""Append Whether or not the adapter should append data to the RemoteFile .
Type: bool Default Value: falseBeforePut A set of FTP commands to be executed before the PUT.
Type: xs:string Default Value: ""ConnectionLifetime Instructs the adapter whether or not to leave the connection to the server open.
Type: xs:int Default Value: 0Firewall A set of properties related to firewall access.
Type: Firewall Default Value: nullFTPPort The port for the FTP service (default is 21).
Type: xs:int Default Value: 21FTPServer The domain name or IP address of the FTP server.
Type: xs:string Default Value: ""
NOTE: This property must be specified.MaxPersistentConnections The maximum number of simultaneous persistent connections when sending.
Type: xs:int Default Value: 1MaxThreads The maximum number of threads that the adapter may consume.
Type: xs:int Default Value: 20MaxTransmissionBatchSize The maximum number of messages that can be sent in a single batch.
Type: xs:int Default Value: 1Other Defines a set of configuration settings to be used by the adapter.
Type: xs:string Default Value: ""Overwrite Whether or not the adapter should overwrite files during transfer.
Type: bool Default Value: truePassive Controls whether to direct the server into passive mode. Recommended if behind a firewall.
Type: bool Default Value: truePassword The password for login.
Type: baf:Password Default Value: ""RemoteFile The name of the destination file on the FTP server for uploading.
Type: xs:string Default Value: "%SourceFileName%"
NOTE: This property must be specified.RemotePath The current path in the FTP server.
Type: xs:string Default Value: ""RemoteTempPath A temporary directory on the server to store files before moving them to RemotePath .
Type: xs:string Default Value: ""RuntimeLicense Specifies the adapter runtime license key.
Type: xs:string Default Value: ""SSLAcceptServerCert Instructs the adapter to unconditionally accept the server certificate that matches the supplied certificate.
Type: Certificate Default Value: nullSSLCert The certificate to use for client authentication during the SSL handshake.
Type: Certificate Default Value: null
NOTE: The digital id must have a private key associated with it.SSLStartMode Determines how the adapter starts the SSL negotiation.
Type: xs:int Default Value: 0SSOAffiliate Specifies the name of the SSO Affiliate Application..
Type: baf:SSOList Default Value: ""Timeout A timeout for the adapter.
Type: xs:int Default Value: 60TransferMode The transfer mode (ASCII or Binary). If the value is 0 (default), the initial server mode will be used.
Type: xs:int Default Value: 0TransmitBatchMode How the transmitter processes batches.
Type: xs:int Default Value: 0TransportLog Tells the adapter where and how to report information about its operations.
Type: Log Default Value: nullURI The Uniform Resource Identifier (URI) of the send port or receive location.
Type: xs:string Default Value: ""User The user id for login.
Type: xs:string Default Value: ""UseSimpleDirList Instructs the adapter to issue the NLST command instead of LIST.
Type: bool Default Value: false - Click OK and OK again to save settings.