Petals-BC-Filetransfer 3.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
There is no recursivity, sub folders are ignored.

Each file is set in the OUT message as an attachment. The IN message looks like:<?xml version="1.0" encoding="UTF-8"?>
The IN message looks like:
{code:lang=xml}
<?xml version="1.0" encoding="UTF-8"?>
<ver:mget xmlns:ver="http://petals.ow2.org/components/filetransfer/version-3">
<!--1 or more repetitions:-->
<ver:filename>*.xml</ver:filename>
<ver:filename>myFile.txt</ver:filename>
<\!\--1 or more repetitions:-\->
<ver:filename>*.xml</ver:filename>
<ver:filename>myFile.txt</ver:filename>
</ver:mget>
{code}

The OUT message returned to the consumer contains files, as attachments:




|| Attribute || Description || Default value || Required ||
| server | IP or DNS name of the server | | {center}Yes{center} |
| filename\\ | The name of the file where the JBI message (the XML content) will be written in. \\
The system date is appended on each created file. | The operation name\\ | {center}No{center} |
| backup-directory\\ | The directory where files are moved after being read. \\
Environment variables are supported with the form ${myEnvVariable}. | | {center}No{center}\\ |
| folder\\ | The location of the directory where to write JBI message, attachments or to searche files. \\
It must be an absolute address. The directory MUST exists.\\
Environment variables are supported with the form ${myEnvVariable}. | | {center}Yes{center}\\ |
{table-plus}