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 (6)

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}
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|#GenericModeConfiguration]).


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

h2. Configuration

{anchor:GenericModeConfiguration}
h3. Generic Mode
To configure the FTP connection in your XML message request, you have to provide a connection element.
\\ {code:lang=xml}
...
<ver:connection>
<ver:server>?</ver:server>
<ver:port>?</ver:port>
<ver:user>?</ver:user>
<ver:password>?</ver:password>
<!--Optional:-->
<ver:folder>?</ver:folder>
<ver:transfer-type>ascii|binary</ver:transfer-type>
<ver:connection-mode>active|passive (optional, default is active)</ver:connection-mode>
<ver:delete-processed-files>true|false(optional, default is active)</ver:delete-processed-files>
<ver:encoding>?</ver:encoding>
</ver:connection>
...
{code}

h3. {anchor:GenericModeConfiguration}

Generic Mode

h3. Service Unit Mode




|| Parameter || Description || Default || Required ||
| server | IP or DNS name of the server | {center}\-{center} | {center}Yes{center}{center}except when using FtpService{center} |