Petals-BC-FTP 3.4.x

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

Changes (8)

View Page History
* *dir:* List the content of a folder.

[TestAnchor|#GenericModeConfiguration]



These operations are described in an embedded WSDL.
{info}All attachment are processed by using XOP rules.(XML-binary Optimized Packaging : [http://www.w3.org/TR/xop10/] ){info}
In provide mode, the component expose an external service in the JBI environment to send FTP commands on an FTP server.

This service can either connects to an FTP server configured in the ServiceUnit, or retrieve the FTP server information in the XML message request (*Dynamic mode*).
The component can expose directly a generic FTP service without deploying a service unit (*Generic mode*) or use a service-unit (Service-unit mode).

In generic mode, parameter for the FTP connection are set in the XML message request in a connection node (see Generic Mode configuration).


{info}All operations support wild card character{info}

h2. Configuration

h3. Service Unit descriptor

h3. {anchor:GenericModeConfiguration}

Generic Mode

h3. Service Unit Mode

An example of a Service Unit descriptor to provide an FTP service:
\\





|| Parameter || Description || Default || Required ||
| server | IP or DNS name of the server | {center}\-{center} | {center}Yes{center}{center}except when using FtpService{center} |
| encoding | Set the encoding encoding value used to process FTP operation | {center}Default JVM Encoding{center} | {center}No{center} |
| max-idle-time | Max idle connection time (milliseconds). Default value is 10000ms | {center}10000 ms{center}\\ | {center}No{center}\\ |
| max-connection | This parameter specifies the maximum number of simultaneous connection allowed by the FTP server. \\ | {center}\-1 (unlimited){center}\\ | {center}No{center}\\ |
{table-plus}