Configuring the FTP adapter

In addition to targets defined in the adapter configuration, the FTP adapter can have a dynamic target defined in each adapter request. If a dynamic target is always defined in the FTP adapter request, a configuration node, <config/> is used in the adapter configuration.

BMC recommends that you do not include unused elements in the adapter configuration because they might cause errors.

Adapter type: ro-adapter-ftp [baob201402:version]

Default adapter name: FTPActorAdapter

To configure the FTP adapter, see Configuring base adapters.

The following table describes the adapter configuration elements for the FTP adapter that you can specify by using the form view, XML view, or both. You cannot use the form view to configure elements and attributes that do not have an entry in the "UI label" column.

Configuration node elements for the FTP adapter

UI label

Element

Description

Required

Target

<target>

Specifies the host name or the IP address of the remote host

Note

You can specify an IPv6 address with a zone ID for the <target> element—for example, <target>fe80::5097:4c5e:2289:76dd%10</target>.
To find the zone ID of the required computer, see Zone ID for an IPv6 address.

Yes

Port

<port>

Specifies the port on which the remote host listens

Default value: 21

No

User Name

<user-name>

Specifies the user name to be used for remote host authentication

Yes

Password

<password>

Specifies the password that corresponds to the <user-name>

The <password> element can contain an encryption-type attribute.

Yes

Encryption Type

<encryption-type>

Indicates whether the password specified is encrypted; is an attribute of the <password> element, not an element itself

Valid values: Base64, Plain (default)

No

Timeout Secs

<timeout-secs>

The time, in seconds, to wait for the expected prompt to be returned

If the expected prompt is not returned before the specified period has elapsed, an error message is returned.

Default value: 60

No

Character Set

<character-set>

Specifies the supporting CharSet

CharSet is also called Character Set that includes identifiers describing a series of universal characters.

Default value: ISO-8859-2

No

The following figure shows an XML template of the FTP adapter configuration.

XML template of the FTP adapter configuration

<configs>
 <config name="host1">
   <target></target>
   <port></port>
   <user-name></user-name>
   <password encryption-type=""></password>
   <timeout-secs></timeout-secs>
 </config>
 <config name="host2">
   <target></target>
   <port></port>
   <user-name></user-name>
   <password encryption-type=""></password>
   <timeout-secs></timeout-secs>
 </config>
</configs>


The following figure shows an XML sample of the FTP adapter configuration.

XML sample of the FTP adapter configuration

<config name="dev4">
  <target>192.64.111.222</target>
  <port>21</port>
  <userName>name</userName>
  <password encryption-type="BASE64">password</password>
  <preferred-pk-algorithm>ssh-rsa</preferred-pk-algorithm>
  <timeout-secs>5</timeout-secs>
</config>
<config name="dev3">
  <target>192.168.1.1</target>
  <port>21</port>
  <userName>name</userName>
  <password encryption-type="BaSE64">password</password>
  <preferred-pk-algorithm>ssh-rsa</preferred-pk-algorithm>
  <timeout-secs>5</timeout-secs>
</config>


The following figure shows an XML sample of the FTP adapter configuration with the Charset element.

XML sample of the FTP adapter configuration with Charset element

<config>
  <target>Server</target>
  <user-name>user</user-name>
  <password encryption-type="Plain">pass</password>
  <timeout-secs>120</timeout-secs>
  <allow-unknown-hosts>true</allow-unknown-hosts>
  <character-set>Shift_JIS</character-set>
</config>

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments