Petals-BC-FTP 3.4

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
h2. Configuration

{include:0 CDK SU Provide Configuration}
\\
{center}{*}Configuration of a Service Unit to provide a service (FTP)*{center}
{table-plus}



















|| Attribute || Description || Default value || Required ||
| server | IP or DNS name of the server | | {center}Yes{center} \\ {center}except when using FtpService{center} |
| port | the port number of the FTP server | {center}21{center} | {center}No{center} |
| user | the user login name used to connect to the server | | {center}Yes{center} \\ {center}except when using FtpService{center} |
| password | the user password | | {center}Yes{center}\\ {center}except when using FtpService{center} |
| folder | the folder on the FTP server | | {center}No{center} |
| filename | file name for the standard PUT operation (write the XML message content on the FTP server) | {center}content.xml{center} | {center}No{center} |
| connection-mode | In Active mode, the connection port is set by the client. In Passive mode, it is set by the server (default is Active) | {center}active{center} | {center}No{center} |
| transfer-type | transfer mode used for put or get files ascii/binary | {center}ascii{center} | {center}No{center} |
| delete-processed-files | If true, the service delete the files processed by operation get or mget | {center}false{center} | {center}No{center} |
| encoding | Set the encoding encoding value used to process FTP operation. | {center}Default JVM Encoding{center} | {center}No{center} |
{table-plus}

h3. Service Unit descriptor

The service unit is configurable via its extensions in the jbi.xml file:
An example of a Service Unit descriptor to provide an FTP service:
\\
{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
{code}

{include:0 CDK SU Provide Configuration}
{center}{*}Configuration of a Service Unit to provide a service (FTP)*{center}

{table-plus}
|| Attribute || Description || Default value || Required ||
| server | IP or DNS name of the server | | {center}Yes{center} \\ {center}except when using FtpService{center} |
| port | the port number of the FTP server | {center}21{center} | {center}No{center} |
| user | the user login name used to connect to the server | | {center}Yes{center}{center}except when using FtpService{center} |
| password | the user password | | {center}Yes{center}{center}except when using FtpService{center} |
| folder | the folder on the FTP server | | {center}No{center} |
| filename | file name for the standard PUT operation (write the XML message content on the FTP server) | {center}content.xml{center} | {center}No{center} |
| connection-mode | In Active mode, the connection port is set by the client. In Passive mode, it is set by the server (default is Active) | {center}active{center} | {center}No{center} |
| transfer-type | transfer mode used for put or get files ascii/binary | {center}ascii{center} | {center}No{center} |
| delete-processed-files | If true, the service delete the files processed by operation get or mget | {center}false{center} | {center}No{center} |
| encoding | Set the encoding encoding value used to process FTP operation. | {center}Default JVM Encoding{center} | {center}No{center} |
{table-plus}

{include:0 CDK SU Interceptor configuration}

h1. Component Configuration

The following attributes can be set during the installation phase to configure the component, using the params element of the jbi-install-component ANT task:

{include:0 CDK Component Configuration Table 2.1}

{include:0 CDK Parameter scope}
{include:0 0 CDK Component Interceptor configuration}
{column}
{column:width=25%}